Пример #1
0
        public async Task <IActionResult> Search(ProductSearchInput input)
        {
            var result = new Result <PagedResultDto <SmallProductDto> >();

            result.data = await _productAppService.SearchApi(input, new ProductSpecification(input.Keyword, input.HeadId, input.IsEnable));

            return(Json(result));
        }