private void checkBox1_CheckedChanged(object sender, EventArgs e) { if (checkBox1.Checked == true) { _systemConfigurationService.Update(true); } else { _systemConfigurationService.Update(true); } }
public int Update(System_Configuration sys_conf) { try { return(tt_Dal.Update(sys_conf)); } catch (Exception) { throw; } }