Exemplo n.º 1
0
 public virtual void Patch(NotificationTemplateEntity template)
 {
     template.LanguageCode = LanguageCode;
     template.Subject      = Subject;
     template.Body         = Body;
     template.Message      = Message;
 }
        public override void Patch(NotificationTemplateEntity target)
        {
            if (target is SmsNotificationTemplateEntity smsNotificationTemplateEntity)
            {
                smsNotificationTemplateEntity.Message = Message;
            }

            base.Patch(target);
        }
        public override void Patch(NotificationTemplateEntity target)
        {
            if (target is EmailNotificationTemplateEntity emailNotificationTemplateEntity)
            {
                emailNotificationTemplateEntity.Subject = Subject;
                emailNotificationTemplateEntity.Body    = Body;
            }

            base.Patch(target);
        }
 public virtual void Patch(NotificationTemplateEntity template)
 {
     template.LanguageCode = LanguageCode;
     template.ModifiedDate = DateTime.UtcNow;
 }
 public virtual void Patch(NotificationTemplateEntity template)
 {
     template.LanguageCode = LanguageCode;
 }