Ejemplo n.º 1
0
 public object Post(LoginData loginData)
 {
     try
     {
         return(GeneralFunctions.CheckAuthentication(loginData.Username, loginData.UserPassword));
     }
     catch
     {
         throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.NoContent));
     }
 }