コード例 #1
0
 public async Task <IActionResult> CheckAuthorization(string userId)
 {
     return(await RequestHandler <AuthorizationResponse>(HttpVerbs.Get, userId, async() =>
                                                         authorizationRepository.IsAuthorized(userId)));
 }