public async Task <IActionResult> DeleteFraisSupplementaireSession([FromBody] FraisSupplementaireSession item) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } var result = await _formationService.DeleteFraisSupplementaireSessionAsync(item.SessionId, item.FraisSupplementaireId); if (result) { return(Ok(result)); } else { return(NotFound()); } }