public virtual IActionResult Maintenance() { if (!_permissionService.Authorize(StandardPermissionProvider.ManageMaintenance)) { return(AccessDeniedView()); } //prepare model var model = _commonModelFactory.PrepareMaintenanceModel(new MaintenanceModel()); return(View(model)); }