protected bool RemovePartyStatus(IEnumerable<PartyStatus> entities) { Contract.Requires(entities != null); using (IUnitOfWork uow = this.GetUnitOfWork()) { IRepository<PartyStatus> repo = uow.GetRepository<PartyStatus>(); foreach (var entity in entities) { var latest = repo.Reload(entity); repo.Delete(latest); } uow.Commit(); } return (true); }