public async Task Edit()

in src/Saas.SignupAdministration/Saas.SignupAdministration.Web/Areas/Admin/Controllers/TenantsController.cs [61:77]


    public async Task<IActionResult> Edit(string id)
    {
        Guid guid = new();
        if (id is  null || !Guid.TryParse(id, out guid))
        {
            return NotFound();
        }

        var tenant = await _adminServiceClient.TenantsGETAsync(guid);
        if (tenant is null)
        {
            return NotFound();
        }
        ViewBag.ProductOptions = ReferenceData.ProductServicePlans.Select(x => new SelectListItem(x.Name, x.Id.ToString()));
        ViewBag.CategoryOptions = ReferenceData.TenantCategories.Select(x => new SelectListItem(x.Name, x.Id.ToString()));
        return View(new TenantViewModel(tenant, ReferenceData.TenantCategories, ReferenceData.ProductServicePlans));
    }