示例#1
0
 public ActionResult SignupStep4()
 {
     if (Session["Signup$CompanyInfo"] is PartnerCompanyInfoDTO companyInfo)
     {
         CountryBLL            countryBLL  = new CountryBLL(WebApp.Connector);
         PartnerPreferencesDTO preferences = Session["Signup$Preferences"] as PartnerPreferencesDTO;
         CountryDTO            country     = countryBLL.ReadById(companyInfo.Country.Id);
         ViewBag.Currencies = country.SupportedCurrencies;
         ViewBag.Languages  = country.SupportedLanguages;
         return(View(preferences));
     }
     else
     {
         return(RedirectToAction("SignupStep3"));
     }
 }