示例#1
0
 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>()));
     }
 }
示例#2
0
 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));
 }