public IActionResult Properties(int id)
        {
            var api = _configurationDbContext.ApiResources
                      .Include(x => x.Properties)
                      .FirstOrDefault(x => x.Id == id);

            return(View(PropertiesModel.FromEntity(api)));
        }
Пример #2
0
        public IActionResult Properties(int id)
        {
            var client = _configurationDbContext.Clients
                         .Include(x => x.Properties)
                         .FirstOrDefault(x => x.Id == id);

            return(View(PropertiesModel.FromEntity(client)));
        }