public bool NameExists([FromBody] PilotDetailsDto pilotDto) { return(pilotService.CheckNameExists(pilotDto)); }