public ActionResult Index()
        {
            TaskRepository repo = new TaskRepository();

            TaskList list = repo.GetTasks();
            return View(list);
        }
        public ActionResult ToggleTask(Int32 taskId)
        {
            TaskRepository repo = new TaskRepository();

            TaskResponse response = repo.ToggleTask(taskId);

            return Json(response);
        }