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