Exemplo n.º 1
0
        public IActionResult ReplacePassenger([FromBody] ReplacePassengerModel data)
        {
            PassengerModel newData = _iTrainService.ReplacePassenger(data);

            return(Ok(newData));
        }