public async Task <IActionResult> CheckAuthorization(string userId) { return(await RequestHandler <AuthorizationResponse>(HttpVerbs.Get, userId, async() => authorizationRepository.IsAuthorized(userId))); }