예제 #1
0
        // GET: Manager/Default
        public ActionResult ShipperByID(int id)
        {
            ShipperVM svm = new ShipperVM
            {
                Shipper = sRep.Find(id)
            };

            return(View(svm));
        }
예제 #2
0
 public ActionResult DeleteShipper(int id)
 {
     sRep.Delete(sRep.Find(id));
     return(RedirectToAction("ShipperList"));
 }