public IActionResult Properties(int id) { var api = _configurationDbContext.ApiResources .Include(x => x.Properties) .FirstOrDefault(x => x.Id == id); return(View(PropertiesModel.FromEntity(api))); }
public IActionResult Properties(int id) { var client = _configurationDbContext.Clients .Include(x => x.Properties) .FirstOrDefault(x => x.Id == id); return(View(PropertiesModel.FromEntity(client))); }