Beispiel #1
0
 public AddEditStationViewModel()
 {
     CopyInd             = "N";
     BandList            = CRCDataAccess.GetBands().ToSelectListItems().OrderBy(li => li.Text).AddBlankFirstItem();
     RepeaterStatusList  = CRCDataAccess.GetRepeaterStatuses().ToSelectListItems().OrderBy(li => li.Text).AddBlankFirstItem();
     FlagshipStationList = CRCDataAccess.GetFlagshipStationsList().ToSelectListItems().OrderBy(li => li.Text).AddBlankFirstItem();
     MemberStatusList    = CRCDataAccess.GetMemberStatuses().ToSelectListItems().OrderBy(li => li.Text).AddBlankFirstItem();
     MinorityStatusList  = CRCDataAccess.GetMinorityStatuses().ToSelectListItems().OrderBy(li => li.Text).AddBlankFirstItem();
     LicenseeTypeList    = CRCDataAccess.GetDropDownLicenseeTypes().ToSelectListItems().OrderBy(li => li.Text).AddBlankFirstItem();
     MetroMarketList     = CRCDataAccess.GetMetroMarkets().ToSelectListItems().OrderBy(li => li.Text).AddBlankFirstItem();
     DMAMarketList       = CRCDataAccess.GetDMAMarkets().ToSelectListItems().OrderBy(li => li.Text).AddBlankFirstItem();
     TimeZoneList        = CRCDataAccess.GetTimeZones().ToSelectListItems().AddBlankFirstItem();
     AffiliateList       = CRCDataAccess.GetAffiliates().ToSelectListItems().OrderBy(li => li.Text);
 }