public async Task <IActionResult> DeletePilot(long id) { var success = await service.TryDismissPilotAsync(id); return(success ? Ok() : StatusCode(304) as IActionResult); }
public async Task <IActionResult> DeletePilot(long id) { var success = await service.TryDismissPilotAsync(id); return(success ? Ok() : StatusCode(304) as IActionResult); }