Пример #1
0
        public ActionResult P_AddItems(string Id, string WList_Id)
        {
            EventsBLL oeventBLL = new EventsBLL();
            WishList  obj       = new WishList();

            obj.Id = WList_Id;
            var details = oeventBLL.GetEventDetails(Id, Convert.ToString(Session["UserId"]));

            details.CreateWishlist = obj;
            return(PartialView("_AddItems", details));
        }
Пример #2
0
        public ActionResult EventProfile(string id)
        {
            EventsBLL obj = new EventsBLL();
            Events    eve = obj.GetEventDetails(id);

            EventsWishList[] eveWlist = obj.GetEventWishListDetails(id);
            EventsGroup      data     = new EventsGroup();

            data.eventDetails  = eve;
            data.eventWishList = eveWlist;
            return(View(data));
        }
Пример #3
0
 public ActionResult EventContributer(string id)
 {
     if (!string.IsNullOrEmpty(id))
     {
         EventsBLL oeventBLL = new EventsBLL();
         var       details   = oeventBLL.GetEventDetails(id, Convert.ToString(Session["UserId"]));
         return(View("EventContributer", details));
     }
     else
     {
         return(RedirectToAction("Index", "Home"));
     }
 }