Exemplo n.º 1
0
 public async Task CreateAsync()
 {
     var client = await clientsRepository.CreateAsync(new Client
     {
         Name            = "Test Elek",
         Email           = "*****@*****.**",
         Billing_address = new BillingAddress
         {
             Country     = "Magyarország",
             Postcode    = "1117",
             City        = "Budapest",
             Street_name = "Test",
             Street_type = "utca",
             House_nr    = "10",
         },
         Bank = new Bank
         {
             Account_no = "11739009-23905470-"
         },
         Force    = true,
         Defaults = new Defaults
         {
             Electronic_invoice = "true",
             Invoice_currency   = "HUF"
         }
     });
 }