public ProdutoController(IProdutoRepository produtoRepository, IDimensaoRepository dimensaoRepository, IProdutoMaterialRepository produtoMaterialRepository, ICategoriaRepository categoriaRepository, ArqsiContext context)
 {
     this.context      = context;
     this.repProduto   = produtoRepository;
     this.repDimensao  = dimensaoRepository;
     this.repMaterial  = produtoMaterialRepository;
     this.repCategoria = categoriaRepository;
 }
 public ProdutoRepository(ArqsiContext context)
 {
     this.context = context;
 }
 public DimensaoRepository(ArqsiContext context)
 {
     this.context = context;
 }
Beispiel #4
0
 public MaterialRepository(ArqsiContext context)
 {
     this.context = context;
 }
 public CategoriaRepository(ArqsiContext context)
 {
     this.context = context ?? throw new ArgumentNullException(nameof(context));
 }
Beispiel #6
0
 public AcabamentoRepository(ArqsiContext context)
 {
     this.context = context;
 }