public async Task BookApplicationService_GetById()
        {
            var id = "b8Z5DwAAQBAJ";

            var model = await _bookApplicationService.GetById(id);

            model.Should().NotBeNull();
        }
示例#2
0
        public async Task <IActionResult> GetById(string id)
        {
            var result = await _bookApplicationService.GetById(id);

            return(Response(result));
        }