Ejemplo n.º 1
0
        public static int addAddres(int idClient, string adress, string commune)
        {
            OperationAdressClient newTransaction = new OperationAdressClient();
            AdressClient          newaddress     = new AdressClient();

            newaddress.clientID = idClient;
            newaddress.adress   = adress;
            newaddress.commune  = commune;

            return(newTransaction.SaveNewAdress(newaddress));
        }
Ejemplo n.º 2
0
 public int PostAdressClient(AdressClient adressClient)
 {
     return(_repo.SaveNewAdress(adressClient));
 }