Exemple #1
0
        public ActionResult UpdateGift(int id)
        {
            if (Request.IsAjaxRequest())
            {
                var gift = _giftService.Get(id);

                return(PartialView("_UdateGiftPartialView", Mapper.Map <GiftViewModel>(gift)));
            }
            return(View());
        }