public ActionResult DeleteTasks(int id) { itaskBusiness.DeleteTasks(id); return(Json(new { success = true })); //return RedirectToAction("TaskList"); }