public IHttpActionResult Get(string username, string password) { var result = userProxy.GetUser(username); if (result == null || result.password.Trim() != password.Trim()) { return(NotFound()); } return(Ok(result)); }
public static UserCollection GetUser(List <QueryElement> list) { return(UserProxy.GetUser(list)); }