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