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