public async Task <ActionResult> YourCohorts(string hashedAccountId) { if (!await IsUserRoleAuthorized(hashedAccountId, Role.Owner, Role.Transactor)) { return(View("AccessDenied")); } var model = await _employerCommitmentsOrchestrator.GetYourCohorts(hashedAccountId, OwinWrapper.GetClaimValue(@"sub")); SetFlashMessageOnModel(model); return(View(model)); }