public static DataTable InsertContractor(string userRole, string userLogin, Contractor contractor)
 {
     IPersonData contractorData = new PersonData();
     contractor.ContractorIsActive = false;
     DataTable tb = contractorData.InsertPerson(userRole, "Contractor", userLogin, contractor.Entity(contractor));
     return tb;
 }
 public static DataTable InsertClient(string userRole, string userLogin, Client client)
 {
     IPersonData clientData = new PersonData();
     client.ClientIsActive = false;
     DataTable tb = clientData.InsertPerson(userRole, "Client", userLogin, client.Entity(client));
     return tb;
 }