private void btnSalva_Click(object sender, EventArgs e) { CtrlToModel(); AppRepo.SaveSmtpConfig(_smtpCfg); }