Esempio n. 1
0
 public async Task <ActionResult> Authenticate(string username, string password)
 {
     if (await Execute(DomainLogic.Authenticate(username, password)))
     {
         return(Accepted());
     }
     else
     {
         return(Unauthorized());
     }
 }