public IEnumerable <KeyValuePair <int, string> > GetPamPresenters(PamPresenterFilterCriteria CounselorFilters) { if (CounselorFilters.AgencyId.HasValue) { return(Data.GetPamPresentersByAgency(CounselorFilters.UserId, CounselorFilters.StateFIPS, CounselorFilters.scope.EnumValue <int>(), CounselorFilters.AgencyId.Value)); } else { return(Data.GetAllPamPresenters(CounselorFilters.UserId, CounselorFilters.StateFIPS, CounselorFilters.scope.EnumValue <int>())); } }
public IEnumerable <KeyValuePair <int, string> > GetPamPresentersForPamForm(PamPresenterFilterCriteria CounselorFilters, bool isActive) { return(Data.GetPamPresentersByAgencyActiveInactive(CounselorFilters.UserId, CounselorFilters.StateFIPS, CounselorFilters.scope.EnumValue <int>(), CounselorFilters.AgencyId.Value, isActive)); }