public static objBB.NotificationRule ToModelObj(this dataBB.NotificationRule source) { return(new objBB.NotificationRule() { MinutesBeforehand = source.MinutesBeforehand, NotificationMethodTypeId = source.NotificationMethodTypeId, NotificationRuleId = source.NotificationRuleId, }); }
public static dtoBB.NotificationRule ToDto(this dataBB.NotificationRule source) { return(new dtoBB.NotificationRule() { MinutesBeforehand = source.MinutesBeforehand, NotificationMethodTypeId = source.NotificationMethodTypeId, NotificationRuleId = source.NotificationRuleId, }); }