Example #1
0
 public static NotificationType MapToNotificationType(NotificationSettingsViewModel notificationSettingsVM)
 {
     NotificationType notificationType = new NotificationType();
     notificationType.Interval = notificationSettingsVM.Interval;
     notificationType.KindOfNotification = notificationSettingsVM.KindOfNotification;
     notificationType.RepetitionCount = notificationSettingsVM.RepetitionCount;
     notificationType.TimeBefore = notificationSettingsVM.TimeBefore;
     return notificationType;
 }