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