public FactureController(IFactureService service, IUtileService utile, IUtilisateurService utilisateurService, IClientService clientService) { _service = service; _utile = utile; _utilisateurService = utilisateurService; _clientService = clientService; }
public FacturesController( IFactureService factureService, IMapper mapper, IFileService fileService, ICustomAuthService customAuthService) { _factureService = factureService; _mapper = mapper; _fileService = fileService; _customAuthService = customAuthService; }
public FactureController(IFactureService factureService, IMapper mapper) { this.factureService = factureService ?? throw new ArgumentNullException(nameof(factureService)); this.mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }
public FacturesController(IFactureService factureService) { _factureService = factureService; }