internal User GetUserById(string id) { User user = _repo.GetUserById(id); if (user == null) { throw new Exception("Invalid Request"); } user.Hash = null; return(user); }
public IUser GetUserById(string id) { return(_repo.GetUserById(id)); }