public ActionResult <TodoItemPublic> GetById(int id) { var item = _context.Getbyid(id); if (item == null) { return(NotFound()); } return(item.Result); }