static public Models.ManagedEvent ToModel(this JsonHelpers.ManagedEvent managedEvent)
 {
     return(new Models.ManagedEvent
     {
         Id = managedEvent.Id,
         EventDate = managedEvent.mseventmanager_EventManagerDemo != null ? managedEvent.mseventmanager_EventManagerDemo.eventDate : null,
         EventType = managedEvent.mseventmanager_EventManagerDemo != null?EnumHelpers.EventTypeFromStringOrNull(managedEvent.mseventmanager_EventManagerDemo.eventType) : null,
                         Title = managedEvent.DisplayName,
                         Description = managedEvent.Description,
                         Mail = managedEvent.Mail
     });
 }