public IActionResult Checkedlist(int id, ToDoList toDoList) { var put = _todolistService.Checkedlist(id, toDoList); if (put > 0) { return(Ok(put)); } return(BadRequest("Checked Failed!")); }