Пример #1
0
 public void Create(CreateUserViewModel model)
 {
     //todo
        // var user = Mapper.Map<CreateUserViewModel, User>(model);
        // _unitOfWork.UserRepository.Add(user);
     _unitOfWork.Save();
 }
Пример #2
0
 public bool IsModelValid(CreateUserViewModel model)
 {
     //todo make this checking model
     return true;
 }