コード例 #1
0
        public async Task <ActionResult> Stop(int id)
        {
            await userTask.Stop(id);

            TempData["Success"] = "The task has ended";

            return(RedirectToAction("Index"));
        }