Beispiel #1
0
        public override void Delete(Car item)
        {
            foreach (Journey journey in item.Journeys.ToList())
            {
                journeyService.Delete(journey);
            }

            base.Delete(item);
        }
 public void Delete([FromBody] Journey journey)
 {
     _journeyService.Delete(journey);
 }