public ActionResult EventInvitedTo()
        {
            EventOperations eventOperation = new EventOperations();
            var             result         = eventOperation.eventsInvitedTo(User.Identity.Name).Select(events => new EventTitleViewModel()
            {
                Id = events.EventId,

                Title = events.Title,

                Date = events.EventDate,
            }).ToList();
            var passedEvents = result.Where(e => e.Date < DateTime.Now);

            var allupcomingEvents = result.Where(e => e.Date >= DateTime.Now);


            return(View("EventInvitedTo", new UpcomingPassedEventsModel()
            {
                PassedEvents = passedEvents,
                FutureEvents = allupcomingEvents
            }));
        }