Esempio n. 1
0
        public ActionResult PlaceOrder([Bind(Include = "Address1, Address2, Pin")] AddressModel am)
        {
            Guid userid = new Guid(Session["UserID"].ToString());

            AddressDTO odto = new AddressDTO();

            odto = OrderMapper.Map <AddressModel, AddressDTO>(am);
            bool abc = oc.AddAddress(odto, userid);

            return(View("PlaceOrder"));
        }