Beispiel #1
0
        public ActionResult EditProduct(int ispId, int prodId)
        {
            var model = new ISPProductViewModel
            {
                ISPId      = ispId,
                ISPProduct = repo.GetProduct(prodId)
            };

            return(View(model));
        }
Beispiel #2
0
 public ISPProduct GetProduct(int prodId)
 {
     return(ispRepo.GetProduct(prodId));
 }