Esempio n. 1
0
        public ActionResult GetAllEnumValues(int filterid)
        {
            var model = _filterRepository.GetAllEnumValues(filterid);

            ViewBag.EnumValuesSelectList = _enumRepositopy.GetAll().Select(item => new SelectListItem
            {
                Text  = item.Key,
                Value = item.Id.ToString()
            });
            return(PartialView("_PartialFilterAllEnumValues", model));
        }