/// <returns>A task that represents the asynchronous operation</returns> public virtual async Task <IActionResult> Maintenance() { if (!await _permissionService.AuthorizeAsync(StandardPermissionProvider.ManageMaintenance)) { return(AccessDeniedView()); } //prepare model var model = await _commonModelFactory.PrepareMaintenanceModelAsync(new MaintenanceModel()); return(View(model)); }