Esempio n. 1
0
        public async Task <ActionResult <Passanger> > InsertPassanger(Passanger request)
        {
            await _passangerService.InsertPassangerAsync(request);

            return(CreatedAtAction(nameof(FindPassangerAsync), new { id = request.Id }, request));
        }