/* * GET * api/todolist/:id */ public IActionResult GetById(long id) { var item = _service.FindTodoListById(id); if (item == null) { return(NotFound()); } return(new ObjectResult(item)); }