public ActionResult EndWork(int id) { _db.EndWork(id); return(RedirectToAction("TaskDetails", new { id = id })); }