public ActionResult GiftsSearch(string namePart) { return(PartialView("_SearchResultPartial", _giftService.SearchGiftsByName(namePart).Select(Mapper.Map <DomainGift, GiftViewModel>).Take(5).AsEnumerable())); }