예제 #1
0
        public ActionResult DeleteProvider(int id)
        {
            var service = new ProviderService();

            service.DeleteProvider(id);
            TempData["SaveResult"] = "Provider deleted.";
            return(RedirectToAction("Index"));
        }