Esempio n. 1
0
        public ActionResult CheckOutOnePage()
        {
            CheckOutBL checkOutBL = new CheckOutBL();
            var        addresses  = checkOutBL.GetAddressList(User.Identity.Name);

            ViewBag.AddressTitle = new SelectList(addresses, "Id", "AddressTitle");
            return(View());
        }
Esempio n. 2
0
        public ActionResult MyAddress()
        {
            UserAddressesList           userAddressesList        = new UserAddressesList();
            List <UserAddressViewModel> userAddressViewModelList = new List <UserAddressViewModel>();
            CheckOutBL checkOutBL = new CheckOutBL();

            userAddressViewModelList = checkOutBL.GetAddressList(User.Identity.Name);
            userAddressesList.UserAddressViewModelList = userAddressViewModelList;
            return(View(userAddressesList));
        }