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)); }
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)); }
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")); } }