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