public void DeleteCommit(ISet set) { Checks.Argument.IsNotNull(set, "set"); using (IUnitOfWork u = UnitOfWork.Begin()) { _repo.Remove(set); u.Commit(); } }
public void Remove(int id) { _setRepository.Remove(id); }