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

            service.DeleteHive(id);
            TempData["SaveResult"] = "Your Hive has been deleted. Rest in Pollen.";

            return(RedirectToAction("Index"));
        }