Beispiel #1
0
        public ActionResult Index(VendorViewModel vViewModel)
        {
            if (TempData["vViewModel"] != null)
            {
                vViewModel = (VendorViewModel)TempData["vViewModel"];
            }
            Set_Date_Session(vViewModel.Vendor);

            vViewModel.Designations = _vRepo.drpGetDesignations();

            vViewModel.Cities = _vRepo.drpGetCities();

            vViewModel.Business = _vRepo.drpGetBusiness();

            return(View("Index", vViewModel));
        }