Ejemplo n.º 1
0
        internal static RecurringTrigger ConvertToTrigger(RecurringTriggerDto dto)
        {
            var trigger = new RecurringTrigger {
                Definition = dto.Definition, StartDateTimeUtc = dto.StartDateTimeUtc, EndDateTimeUtc = dto.EndDateTimeUtc
            };

            return((RecurringTrigger)MapCommonValues(dto, trigger));
        }
Ejemplo n.º 2
0
        internal static RecurringTriggerDto ConvertToDto(RecurringTrigger trigger)
        {
            var dto = new RecurringTriggerDto {
                StartDateTimeUtc = trigger.StartDateTimeUtc, EndDateTimeUtc = trigger.EndDateTimeUtc, Definition = trigger.Definition
            };

            return((RecurringTriggerDto)MapCommonValues(trigger, dto));
        }