public ActionResult ValueNotes() { var model = new LookupModel { LookupType = "Value notes", ValueNotes = _reader.GetAllValueNotes() }; return View("LookUpList", model); }
public ActionResult Ages() { var model = new LookupModel { LookupType = "Ages", Ages = _reader.GetAllAges() }; return View("LookUpList", model); }
public ActionResult Targets() { var model = new LookupModel { LookupType = "Goals", Targets = _reader.GetAllTargets().OrderBy(x => x.LowerLimit).ToList(), Polarities = _reader.GetAllPolarities() }; return View("LookUpList", model); }
public ActionResult Categories(int categoryTypeId = CategoryTypeIds.EthnicGroups7Categories) { var categoryTypes = _lookUpsRepository.GetCategoryTypes() .OrderBy(x => x.Name).ToList(); var model = new LookupModel { LookupType = "Categories", CategoryTypes = categoryTypes, CategoryTypeId = categoryTypeId, Categories = _reader.GetCategoriesByCategoryTypeId(categoryTypeId) }; return View("LookUpList", model); }