1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
-
- using System.Collections.Generic;
- namespace Foghorn.Core
- {
- public partial class SendingApplicationAssembler
- {
- static partial void OnDto(this SendingApplication entity, SendingApplicationDto dto)
- {
- dto.NotificationTypes = (List<NotificationTypeDto>) entity.NotificationTypes.ToDtos();
- dto.Subscribers = (List<SubscriberDto>) entity.Subscribers.ToDtos();
- }
- }
- public partial class NotificationAssembler
- {
- static partial void OnDto(this Notification entity, NotificationDto dto)
- {
- dto.SentToSubscribers = (List<SubscriberDto>) entity.SentToSubscribers.ToDtos();
- }
- }
- }
|