Example #1
0
        public Klant createKlant(KlantPost klant)
        {
            string json     = JsonSerializer.Serialize(klant);
            string result   = putData(Config.saveKlanten, json);
            Klant  newKlant = new JavaScriptSerializer().Deserialize <Klant>(result);

            return(newKlant);
        }
Example #2
0
 public Klant createKlant(KlantPost klant)
 {
     return(api.createKlant(klant));
 }