Exemple #1
0
        public async Task <IActionResult> SearchItems(string text)
        {
            var items = await itemsManager.SearchAsync(text);

            var itemsVM = mapper.Map <IEnumerable <ItemVM> >(items);

            return(PartialView("_SearchItems", itemsVM));
        }