Пример #1
0
 public void Add(AddReminderModel addReminderModel)
 {
     _storage.Add(new ReminderItem
     {
         Date      = addReminderModel.Date,
         ContactId = addReminderModel.ContactId,
         Message   = addReminderModel.Message,
         Status    = ReminderItemStatus.Awaiting
     });
 }
 public AddingSucceededEventArgs(AddReminderModel reminder)
 {
     Reminder = reminder;
 }
 public AddingFailedEventArgs(AddReminderModel reminder, Exception exception)
 {
     Reminder  = reminder;
     Exception = exception;
 }
Пример #4
0
 public AddingSucceededEventArgs(AddReminderModel reminder, Guid newReminderId)
 {
     Reminder      = reminder;
     NewReminderId = newReminderId;
 }