Ejemplo n.º 1
0
        public bool SaveEmailTemplate(TemplateParams templateParams)
        {
            bool isAdded = false;
            try
            {
                _ctx.EmailsTemplates.Add(new EmailsTemplate
                {
                    brabch_num = templateParams.BranchId,
                    mis_campaign = templateParams.CampaignId,
                    Subject = templateParams.Subject,
                    Body = templateParams.Body,
                });
                _ctx.SaveChanges();
                isAdded = true;

            }
            catch (Exception ex)
            {
                throw ex;

            }

            return isAdded;
        }
Ejemplo n.º 2
0
 public bool SaveEmailTemplate(TemplateParams templateParams)
 {
     throw new NotImplementedException();
 }