public void Put([FromBody] AirplaneViewModel airplaneViewModel) { var airplane = _mapper.Map <Airplane>(airplaneViewModel); _airplaneService.Atualizar(airplane); }
public void Put([FromBody] AirplaneViewModel airplaneViewModel) { var airplane = _mapper.Map <Airplane>(airplaneViewModel); _airplaneService.Atualizar(airplane); }