public void Post([FromBody] Fitting fitting) { //var combatLogEntry1 = new CombatLogEntry(); //combatLogEntry1.Name = "C1"; //var combatLogEntry2 = new CombatLogEntry(); //combatLogEntry2.Name = "C2"; //fitting.CombatLogEntries.Add(combatLogEntry1); //fitting.CombatLogEntries.Add(combatLogEntry2); _db.CreateFitting(fitting); }