public async Task <ActionResult> Get(int id) { if (id == 0) { return(NotFound()); } var book = await _queryAdapter.GetById(id); return(Ok(book)); }