public ActionResult Create()
 {
     ViewBag.CountryID = new SelectList(localizationRepository.Countries(), "CountryID", "CountryName");
     return(View());
 }
Beispiel #2
0
 public ActionResult Create()
 {
     ViewBag.BusinessTypeID = new SelectList(businessTypeRepository.BusinessTypes(base.CurrentCustomerID), "BusinessTypeID", "BusinessTypeCode");
     ViewBag.CountryID      = new SelectList(localizationRepository.Countries(), "CountryID", "CountryName");
     return(View());
 }