Exemplo n.º 1
0
        public IActionResult Index()
        {
            var attrGroups = _attrGroupRepo.GetAllAttributeGroups();

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