public async Task <IActionResult> Edit(string id)
        {
            var inputModel = new IdentityResourceInputModel();

            if (!string.IsNullOrWhiteSpace(id))
            {
                var model = await IdentityResourceService.GetIdentityResourceById(id);

                inputModel = model.ToInputModel();
            }

            return(View(inputModel));
        }