Ejemplo n.º 1
0
 public ActionResult Delete(long Id, int status)
 {
     _neNewsService.DeletePermanently(Id);
     ViewBag.MessageType = "SuccessMessage";
     ViewBag.Message     = "Item deleted successful";
     return(RedirectToAction("Manage"));
 }
Ejemplo n.º 2
0
 public ActionResult Delete(long Id, int status)
 {
     _neNewsService.DeletePermanently(Id);
     ShowMessage("Item deleted successful", Framework.Core.Mvc.Views.MessageType.Success, false, true);
     return(RedirectToAction("Manage"));
 }