示例#1
0
        public IActionResult Index()
        {
            var attrGroups = _attrGroupRepo.GetAllAttributeGroups();

            ViewBag.TitlePlural = "Attribute Groups";
            ViewBag.Title       = "Attribute Group";
            return(View(attrGroups));
        }
示例#2
0
 public ActionResult <List <AttributeGroupViewModel> > GetAllAttributeGroups()
 {
     return(_attributeGroupRepository.GetAllAttributeGroups());
 }