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