Esempio n. 1
0
        // GET: Hashtags
        public ActionResult Index([FromQuery] HashtagSearch hashtagSearch)
        {
            hashtagSearch.PageNumber = 0;
            var hashtags = _searchHashtagsCommand.Execute(hashtagSearch);

            return(View(hashtags.Data));
        }
Esempio n. 2
0
 public ActionResult <PagedResponse <HashtagDto> > Get([FromQuery] HashtagSearch hashtagSearch)
 => Ok(_searchHashtagsCommand.Execute(hashtagSearch));