public static NotificationTemplateEntity ToDataModel(this Core.Notification.NotificationTemplate notificationTemplate)
        {
            NotificationTemplateEntity retVal = new NotificationTemplateEntity();

            retVal.InjectFrom(notificationTemplate);

            return(retVal);
        }
        public static void Patch(this NotificationTemplateEntity source, NotificationTemplateEntity target)
        {
            if (target == null)
            {
                throw new ArgumentNullException("target");
            }

            var patchInjection = new PatchInjection <NotificationTemplateEntity>(x => x.Subject, x => x.Body, x => x.IsDefault);

            target.InjectFrom(patchInjection, source);
        }