public ActionResult editEventPost(EventViewModel eventViewModel)
        {
            EventModel eventModel = new EventModel()
            {
                EventId = eventViewModel.EventId,

                Title = eventViewModel.Title,

                StartTime = eventViewModel.StartTime,

                TypeOfEvent = eventViewModel.TypeOfEvent,

                DurationInHours = eventViewModel.DurationInHours,

                Description = eventViewModel.Description,

                OtherDetails = eventViewModel.OtherDetails,

                InviteByEmail = eventViewModel.InviteByEmail,
            };
            EventOperations eventOperation = new EventOperations();

            eventOperation.editEvent(eventModel);
            return(RedirectToAction("MyEvents", "Event"));
        }