public ViewResult EditGuest(int id)
 {
     try
     {
         GuestResponse guest = _guestResponseService
                               .GetGuestResponseService(id);
         ViewData["GuestInfo"] = guest;
         ViewData["GiftList"]  = _giftService.GetGiftsService();
         return(View());
     }
     catch (Exception e)
     {
         ViewData["Message"] = e.Message.ToString();
         return(View("Message"));
     }
 }
Example #2
0
 public ViewResult RvspForm()
 {
     ViewData["GiftList"] = _giftService.GetGiftsService();
     return(View());
 }