public ActionResult EventGoing(int id) { Def_Events events = EventServices.Get(id); Session["Jobid"] = id; EventsModel Events = new EventsModel() { Eventid = events.EventId, EventAddress = events.EventVenue, EventDesc = events.EventDescription, EventHeading = events.EventName, EventsGoing = EventServices.GetGoingUsers(id), StartDate = events.EventStartdate, EndDate = events.EndDate, Bannerimage = events.BannerImage, StartTime = events.StartTime, EndTime = events.EndTime }; return(View(Events)); }