Example #1
0
        public virtual ActionResult ListSearch(string queryText, int page, int size)
        {
            var photos = _context.FindPhotosByQuery(queryText, page, size);

            var model = MapToViewModel(photos);

            return(PartialView(Views.List, model));
        }