Beispiel #1
0
 public LocationsModel(
     ICompanyManager _companyManager,
     ILocationManager _locationManager
     )
 {
     companyManager  = _companyManager;
     locationManager = _locationManager;
     AllCountries    = locationManager.GetAllCountries().Select(c => new SelectListItem
     {
         Text  = c.ToString(),
         Value = c.ToString()
     });
 }