public ApplicatieController(IApplicatieRepository applicatieRepository)
 {
     _applicatieRepository = applicatieRepository;
     //https://gmx.com/
     //[email protected] - test123!
     this.smtpClient                = new SmtpClient("mail.gmx.com", 587);
     this.smtpClient.Credentials    = new System.Net.NetworkCredential("*****@*****.**", "test123!");
     this.smtpClient.DeliveryMethod = SmtpDeliveryMethod.Network;
     this.smtpClient.EnableSsl      = true;
 }
Exemple #2
0
 public BestandController(IApplicatieRepository applicatieRepository)
 {
     aanvaardeBestandExtenties = new string[] { "image/png", "image/jpeg", "image/jpg", "application/pdf" };
     _applicatieRepository     = applicatieRepository;
 }
Exemple #3
0
 public HomeController(IApplicatieRepository applicatieRepository)
 {
     _applicatieRepository = applicatieRepository;
 }