Beispiel #1
0
 public void PostNewCard([FromBody] List <Card> newCards)
 {
     newCards.ForEach(x =>
     {
         cardContext.Add(x);
         cardContext.AddRange(x.Options);
     }
                      );
     cardContext.SaveChangesAsync();
 }