public DtoUser CreateUser(DtoUser e) { var user = userRepository.Create(e.ToDalUser()); uow.Commit(); return(user.ToDtoUser()); }
public void UpdateUser(DtoUser e) { userRepository.Update(e.ToDalUser()); uow.Commit(); }
public void DeleteUser(DtoUser e) { userRepository.Delete(e.ToDalUser()); uow.Commit(); }