Пример #1
0
 private void FillCountries(List<int> selected_value)
 {
     CountryService TS = new CountryService(DBContext);
     MultiSelectList result = TS.GetSelectListCountries(selected_value);
     ViewData["CountryID_Data"] = result;
 }
Пример #2
0
 private void FillCountries(int? selected_value, string language)
 {
     CountryService TS = new CountryService(DBContext);
     SelectList result = TS.GetSelectListFrontCountries(selected_value, language);
     ViewData["CountryID_Data"] = result;
 }