public async Task <IEnumerable <SearchProductsByTagsModel> > GetSearchProductsByTags(SearchProductsByTagsSearchModel searchProductsByTagsSearchModel)
 {
     return(await Query <SearchProductsByTagsModel>("Pdt.SearchProductsByTags", searchProductsByTagsSearchModel));
 }
Beispiel #2
0
        public async Task <ActionResult> Get([FromQuery] SearchProductsByTagsSearchModel searchProductsByTagsSearchModel)
        {
            var listSearchProductsByTags = await _iSearchProductsByTagsService.GetSearchProductsByTags(searchProductsByTagsSearchModel);

            return(Ok(listSearchProductsByTags));
        }
 public async Task <IEnumerable <SearchProductsByTagsModel> > GetSearchProductsByTags(SearchProductsByTagsSearchModel searchProductsByTagsSearchModel)
 {
     return(await _iSearchProductsByTagsRepository.GetSearchProductsByTags(searchProductsByTagsSearchModel));
 }