public static DataTable ApproveContractor(string userRole, string userLogin, Contractor contractor)
 {
     IPersonData contractorData = new PersonData();
     contractor.ContractorIsActive = true;
     DataTable tb = contractorData.ApprovePerson(userRole, "Contractor", userLogin, contractor.Entity(contractor));
     return tb;
 }
 public static DataTable ApproveClient(string userRole, string userLogin, Client client)
 {
     IPersonData clientData = new PersonData();
     client.ClientIsActive = true;
     DataTable tb = clientData.ApprovePerson(userRole, "Client", userLogin, client.Entity(client));
     return tb;
 }