// GET: Admin/AttributItems public ActionResult Index(int?id) { var list = _attributeItemService.GetByAttrGrpId(id).Records; return(View(list)); }
// GET: Admin/AttributItems public async Task <IActionResult> Index(int?id) { var list = await _attributeItemService.GetByAttrGrpId(id); return(View(list.Records)); }