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)); }
public int PostAdressClient(AdressClient adressClient) { return(_repo.SaveNewAdress(adressClient)); }