public async Task <IActionResult> ApiScopeProperties(ApiScopePropertiesDto apiScopeProperty) { if (!ModelState.IsValid) { return(View(apiScopeProperty)); } await _apiScopeService.AddApiScopePropertyAsync(apiScopeProperty); SuccessNotification(string.Format(_localizer["SuccessAddApiScopeProperty"], apiScopeProperty.Key, apiScopeProperty.ApiScopeName), _localizer["SuccessTitle"]); return(RedirectToAction(nameof(ApiScopeProperties), new { Id = apiScopeProperty.ApiScopeId })); }