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; }
public BestandController(IApplicatieRepository applicatieRepository) { aanvaardeBestandExtenties = new string[] { "image/png", "image/jpeg", "image/jpg", "application/pdf" }; _applicatieRepository = applicatieRepository; }
public HomeController(IApplicatieRepository applicatieRepository) { _applicatieRepository = applicatieRepository; }