Exemple #1
0
 public void Get_Client_From_Database_By_Email()
 {
     CreateTestClient();
     ClientLogic logic = new ClientLogic();
     Client testClient2 = logic.GetClientByID(1);
     String s = testClient2.Email;
     logic.GetClientByEmail(testClient2.Email);
 }
Exemple #2
0
 public void Get_Client_From_Database_By_Id()
 {
     CreateTestClient();
     ClientLogic logic = new ClientLogic();
     logic.GetClientByID(1);
 }
Exemple #3
0
 public void Update_Client_From_Database()
 {
     CreateTestClient();
     ClientLogic logic = new ClientLogic();
     Client testClient2 = logic.GetClientByID(1);
     testClient2.RFC = "Changed by Update";
     logic.UpdateClient(testClient2);
 }
Exemple #4
0
 public void Get_Sales_Of_A_Client()
 {
     CreateTestSale();
     ClientLogic clientLogic = new ClientLogic();
     Client testClient = clientLogic.GetClientByID(1);
     SaleLogic logic = new SaleLogic();
     logic.GetSalesOfAClient(testClient);
 }