示例#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;
 }
 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;
 }
示例#3
0
 public CommandeDAO(AperoBoxApi_dbContext context)
 {
     this.context = context ?? throw new ArgumentNullException(nameof(context));
 }
示例#4
0
 public UtilisateurRoleDAO(AperoBoxApi_dbContext context)
 {
     this.context = context ?? throw new ArgumentNullException(nameof(context));
 }
示例#5
0
 public JwtController(IOptions <JwtIssuerOptions> jwtOptions, AperoBoxApi_dbContext context)
 {
     this._jwtOptions = jwtOptions.Value;
     this.context     = context ?? throw new ArgumentNullException(nameof(context));
 }
示例#6
0
 public LigneProduitDAO(AperoBoxApi_dbContext context)
 {
     this.context = context ?? throw new ArgumentNullException(nameof(context));
 }
示例#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;
 }
示例#8
0
 public AuthenticationRepository(AperoBoxApi_dbContext context)
 {
     this.context = context;
 }