public ActionResult Cancel(int importId) { importService.Cancel(importId); ViewBag.Message = "Your import is canceled"; ViewBag.Status = ToastrEnum.Success; return(RedirectToAction("Index", "Home")); }
public ActionResult Cancel(int importId) { importService.Cancel(importId); ViewBag.Message = "Your import is canceled"; ViewBag.Status = ToastrEnum.Success; return(RedirectToAction("Index", "Home")); }