Пример #1
0
        public async Task <IActionResult> Search(CancellationToken cancellationToken, Common.Language lan, int field, BookStatus bstatus, Pagable pagable)
        {
            var model = await _bookService.GetAllBookAsync(cancellationToken, bstatus, lan, field, pagable.Search);

            return(this.Json(new { data = model }));
        }