Ejemplo n.º 1
0
 private void addLegalButton_Click(object sender, EventArgs e)
 {
     ClearLegalErrors();
     var legalClient = new LegalClient(companyName.Text, companyPhoneNo.Text, companyFax.Text, licenseNo.Text);
     if (!ValidateLegal()) return;
     _clientService.AddLegal(legalClient);
     ClearLegal();
     GoToClientsPage();
 }
Ejemplo n.º 2
0
 public void AddLegal(LegalClient legalClient)
 {
     _legalClientStorage.Add(legalClient);
 }