public UserProxy User_GetByUsername(string username) { if (!CheckClient()) { return(null); } User user = UserBO.Instance.GetUser(username); if (user == null) { return(null); } return(ProxyConverter.GetUserProxy(user)); }
public UserProxy User_GetUser(int userID) { if (!CheckClient()) { return(null); } User user = UserBO.Instance.GetUser(userID); if (user == null) { return(null); } UserProxy userProxy = ProxyConverter.GetUserProxy(user); return(userProxy); }