public ProduitController(IProduitRepository produitRepository, IMapper mapper) { _produitRepository = (IProduitRepository)produitRepository.ThrowExceptionIfNull(); _mapper = (IMapper)mapper.ThrowExceptionIfNull(); }