public void loadLookups() { ViewData["ProcessTemplateList"] = _ProcessTemplateService.GetAll(); var StateTypes = new List <LookupData> { new LookupData { ID = 0, Name = "Start" } , new LookupData { ID = 1, Name = "Intermediat" } , new LookupData { ID = 2, Name = "End" } }; ViewData["StateTypeList"] = StateTypes; var AccessLevels = new List <LookupData> { new LookupData { ID = 0, Name = "None" } , new LookupData { ID = 1, Name = "View" } , new LookupData { ID = 2, Name = "Edit" } , new LookupData { ID = 3, Name = "Delete" } }; ViewData["AccessLevelList"] = AccessLevels; ViewData["StateTemplateList"] = _StateTemplateService.GetAll(); }
public void loadLookups() { ViewData["ProcessTemplateList"] = _ProcessTemplateService.GetAll(); ViewData["StateTemplateList"] = _StateTemplateService.GetAll(); }