public async Task <ActionResult> Stop(int id) { await userTask.Stop(id); TempData["Success"] = "The task has ended"; return(RedirectToAction("Index")); }