public IActionResult Index() { var attrGroups = _attrGroupRepo.GetAllAttributeGroups(); ViewBag.TitlePlural = "Attribute Groups"; ViewBag.Title = "Attribute Group"; return(View(attrGroups)); }
public ActionResult <List <AttributeGroupViewModel> > GetAllAttributeGroups() { return(_attributeGroupRepository.GetAllAttributeGroups()); }