public void AddKunde(Kunde kunde)
 {
     using (AutoReservationEntities context = new AutoReservationEntities())
     {
         context.AddToKunden(kunde);
         context.SaveChanges();
     }
 }
 public void CreateKunde(Kunde created)
 {
     using (var ctx = new AutoReservationEntities())
     {
         ctx.AddToKunden(created);
         ctx.SaveChanges();
     }
 }