public UserModel GetById(int id) { var userEntity = _repo.GetUser(id); if (userEntity == null) { return(null); } return(Map(userEntity)); }
public UserModel GetById(int id) { var userEntity = _repo.GetUser(id); if (userEntity == null) { return(null); } return(Map(userEntity)); }