public LookupController(ILookupService serv, IDefaults def, IMapper map) { this.serv = serv; this.map = map; this.def = def; ViewBag.configCategories = def.configCategories(); }
public ActionResult Index() { ViewBag.configCategories = def.configCategories(); return(View("~/Views/Lookup/Index.cshtml")); }