public NewMailViewModel(IInjectSingleViewService viewService, IEmailService emailService) { this.viewService = viewService; this.emailService = emailService; email = Email.Create(); sign = new SecureSigning(key); }
public void OnDecriptCommandExecuted(object arg) { sign = new SecureSigning(key); email.Body = sign.Decrypt(email.Body); }