private void SendMail(Ad ad, object reservation) { EmailSend emailSend = new EmailSend(); emailSend.SendEmail(ad, reservation); emailSend.CloseConnection(); }