Ejemplo n.º 1
0
        public async Task <IActionResult> Index(Guid appHeaderId, Guid appStructId, int page = 1, int size = 10)
        {
            var itemList = await dbContext.AppStructItem
                           .Where(x => x.AppHeaderId == appHeaderId && x.AppStructId == appStructId)
                           .ToListAsync();

            ViewData["ModelTable"] = DataExtension.StrucItemToModelTable(itemList);
            return(View());
        }