Exemplo n.º 1
0
 public LigneProduitController(AperoBoxApi_dbContext context, IMapper mapper)
 {
     this.context         = context ?? throw new ArgumentNullException(nameof(context));
     this.ligneProduitDAO = new LigneProduitDAO(context);
     this.boxDAO          = new BoxDAO(context);
     this.mapper          = mapper;
 }
Exemplo n.º 2
0
 public CommentaireController(AperoBoxApi_dbContext context, IMapper mapper)
 {
     this.context        = context ?? throw new ArgumentNullException(nameof(context));
     this.commentaireDAO = new CommentaireDAO(context);
     this.utilisateurDAO = new UtilisateurDAO(context);
     this.mapper         = mapper;
 }
Exemplo n.º 3
0
 public CommandeDAO(AperoBoxApi_dbContext context)
 {
     this.context = context ?? throw new ArgumentNullException(nameof(context));
 }
Exemplo n.º 4
0
 public UtilisateurRoleDAO(AperoBoxApi_dbContext context)
 {
     this.context = context ?? throw new ArgumentNullException(nameof(context));
 }
Exemplo n.º 5
0
 public JwtController(IOptions <JwtIssuerOptions> jwtOptions, AperoBoxApi_dbContext context)
 {
     this._jwtOptions = jwtOptions.Value;
     this.context     = context ?? throw new ArgumentNullException(nameof(context));
 }
Exemplo n.º 6
0
 public LigneProduitDAO(AperoBoxApi_dbContext context)
 {
     this.context = context ?? throw new ArgumentNullException(nameof(context));
 }
Exemplo n.º 7
0
 public AdresseController(AperoBoxApi_dbContext context, IMapper mapper)
 {
     this.context    = context ?? throw new ArgumentNullException(nameof(context));
     this.adresseDAO = new AdresseDAO(context);
     this.mapper     = mapper;
 }
Exemplo n.º 8
0
 public AuthenticationRepository(AperoBoxApi_dbContext context)
 {
     this.context = context;
 }