Esempio n. 1
0
        public ActionResult Checkout(int petSN)
        {
            Vw_Pet pet = PetModel.getVwPetBySN(petSN);
            List <Comm_Cosmetology> cosmetologyList = CosmetologyModel.getCosmetologyList();

            ViewBag.cosmetologySN = new SelectList(cosmetologyList, "SN", "cosmetologyName");
            ViewBag.pet           = pet;

            return(View(pet));
        }
Esempio n. 2
0
        public ActionResult Details(int?SN)
        {
            if (SN == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }

            Vw_Pet pet = PetModel.getVwPetBySN(Convert.ToInt32(SN));

            return(View(pet));
        }