// Gets a user by id. public User GetUserById(int id) { IUserDTO dto = _containerDAL.GetUserById(id); User user = ExtractUser(dto); return(user); }
public User GetUserById(int id) { IUserDTO dto = ContainerDAL.GetUserById(id); User user = ExtractUser(dto); if (user != null) { return(user); } return(null); }