public ActionResult AppDropDowns() { ViewData["EventType"] = appddservice.GetEventTypeList(); ViewData["OrgLegalStatus"] = appddservice.GetLegalStatusList(); ViewData["GrantType"] = appddservice.GetGrantTypeList(); ViewData["ProgramArea"] = appddservice.GetProgramAreaList(); ViewData["CompetitionCode"] = appddservice.GetCompetitionCodeList(); ViewData["ProposalStatus"] = appddservice.GetProposalStatusList(); ViewData["SSPRoles"] = staffservice.GetALLSSPRoles(); ViewData["Regions"] = appddservice.GetRegionList(); ViewData["GetBudgetCatList"] = appddservice.GetCatList(); ViewData["ProjectLocationList"] = appddservice.GetProjectLocationList(); return(View()); }
public EventType GetPaymentEventType() { AppDropDownsService appdrop = new AppDropDownsService(); IEnumerable <EventType> eventsList = appdrop.GetEventTypeList(); foreach (EventType evtp in eventsList) { if (evtp.EventTypeName == "Payment") { return(evtp); } } return(null); }