Example #1
0
        public async Task <IActionResult> GetBookshelfItem([FromQuery] long bookshelfId, [FromQuery] string address)
        {
            var user = HttpContext.Features.Get <UserSnapshot>();
            var data = await bookshelfService.GetBookshelfItemAsync(user.Id, bookshelfId, address);

            var r = new EntityResult <AnfBookshelfItem> {
                Data = data
            };

            return(Ok(r));
        }