public bool Delete(int id)
        {
            var repo = new TaskRepository();

            repo.Remove(id);

            return true;
        }
        public ActionResult Delete(int id)
        {
            var repo = new TaskRepository();

            repo.Remove(id);

            return Json(true);
        }