Example #1
0
        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));
        }
Example #2
0
 public static UserCollection GetUser(List <QueryElement> list)
 {
     return(UserProxy.GetUser(list));
 }