Пример #1
0
 public void Mailinfo(ZKEShop.Common.MessageType messageType)
 {
     string userName = _userDal.UserName;
     string userEmail = _userDal.Email;
     messageKindDal = db.MessageKind.FirstOrDefault(o=>o.MessageKindID==(short)messageType);
     mailTemplateDal = messageKindDal.MailTemplate;
     string subject=mailTemplateDal.MailSubject;
     string content=mailTemplateDal.MailBody;
     SendOneMail(userEmail,subject,content,"");
 }
Пример #2
0
 partial void UpdateMailTemplate(MailTemplate instance);
Пример #3
0
 partial void DeleteMailTemplate(MailTemplate instance);
Пример #4
0
 partial void InsertMailTemplate(MailTemplate instance);