private async Task <Domain.Models.Formation> FindFormation(Guid formationId) { var formation = await _formationRepository.GetAsync(formationId); if (formation == null) { throw new RepartException("formation_not_found", $"Formation non trouvée. ({formationId})"); } return(formation); }