Exemple #1
0
 public void Delete(BllUser bllUser)
 {
     userRepository.Delete(bllUser.ToDalUser());
     uow.Commit();
 }
Exemple #2
0
 public BllUser Update(BllUser bllUser)
 {
     DalUser oldUser = userRepository.Update(bllUser.ToDalUser());
     uow.Commit();
     return oldUser == null ? null : oldUser.ToBll();
 }
Exemple #3
0
 public BllUser Create(BllUser bllUser)
 {
     BllUser newUser = userRepository.Create(bllUser.ToDalUser()).ToBll();
     uow.Commit();
     return newUser;
 }