Esempio n. 1
0
        internal static InstantTrigger ConvertToTrigger(InstantTriggerDto dto)
        {
            var trigger = new InstantTrigger {
                DelayedMinutes = dto.DelayedMinutes
            };

            return((InstantTrigger)MapCommonValues(dto, trigger));
        }
Esempio n. 2
0
        internal static InstantTriggerDto ConvertToDto(InstantTrigger trigger)
        {
            var dto = new InstantTriggerDto {
                DelayedMinutes = trigger.DelayedMinutes
            };

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