public SendSessionStatusChangeEmail(Event @event, Session session, User user)
        {
            ToName = user.GetDisplayName();
            ToEmail = user.Email;

            EventName = @event.Name;
            SessionName = session.Name;
            EventDate = @event.Start.DateTime.ToLongDateString();
            SessionStatus = session.Status;
            Subject = "Your " + EventName + " Session Has Been " + SessionStatus;
            Template = "SessionStatusChange";
        }
 public void ChangeCurrentEvent(Event currentEvent)
 {
     currentEvent.IsCurrent = true;
     httpContext.Application.Set(CurrentEventKey, currentEvent);
     httpContext.Session.Remove(CurrentRegistrationStatusKey);
 }