Exemplo n.º 1
0
 public MaterialController(IMaterialRepository materialRepository,
                           ICategoriaMaterialRepository categoriaRepository,
                           IMapper mapper)
 {
     _contexto            = materialRepository;
     _categoriaRepository = categoriaRepository;
     _mapper = mapper;
 }
 public CategoriaMaterialService(ICategoriaMaterialRepository categoriaProdutoRepository,
                                 INotificador notificador) : base(notificador)
 {
     _categoriaProdutoRepository = categoriaProdutoRepository;
 }
 public CategoriaMaterialController(ICategoriaMaterialRepository context
                                    , IMapper mapper)
 {
     _contexto = context;
     _mapper   = mapper;
 }