public static void AreEqual_ReminderDto(ReminderDto expect, ReminderDto actual)
 {
     Assert.AreEqual(expect.CustomReminderTime, actual.CustomReminderTime);
     Assert.AreEqual(expect.ReminderTimeType, actual.ReminderTimeType);
     Assert.AreEqual(expect.ReminderType, actual.ReminderType);
     Assert.AreEqual(expect.RepeatingType, actual.RepeatingType);
 }
        public void Put_Should_Modify_Reminder_Meeting()
        {
            #region Arrange
            var actionController = ServiceLocator.Current.GetInstance<MeetingsController>();
            CreateWorkingMeeting(DateTime.Now, 1);
            var currentMeeting = actionController.GetAll().First();

            #endregion

            #region Act
            var newReminder = new ReminderDto
            {
                CustomReminderTime = 3,
                ReminderTimeType = ReminderTimeType.Even10M,
                ReminderType = ReminderType.ShortMessage,
                RepeatingType = RepeatingType.Yearly
            };
            currentMeeting.Reminder = newReminder;
            actionController.PutMeeting(currentMeeting);

            #endregion

            #region Assert

            var assertController = ServiceLocator.Current.GetInstance<MeetingsController>();
            var resultDto = assertController.GetAll().Single();

            AreEqual_ReminderDto(newReminder, resultDto.Reminder);

            #endregion

        }