Ejemplo n.º 1
0
        public AppProductsService(IUnitOfWork unitOfWork,
                                  IOptions <PaginationOptions> options,
                                  IMapper mapper,
                                  IAppUnitsService appUnitsService,
                                  IAppProductVariableSearchTextService appProductVariableSearchTextService,
                                  IMtrTipoMonedaService mtrTipoMonedaService,
                                  IAppSubCategoryService appSubCategoryService)
        {
            _unitOfWork = unitOfWork;

            _appUnitsService = appUnitsService;
            _appProductVariableSearchTextService = appProductVariableSearchTextService;
            _mtrTipoMonedaService  = mtrTipoMonedaService;
            _appSubCategoryService = appSubCategoryService;
            _paginationOptions     = options.Value;
            _mapper = mapper;
        }
 public AppSubCategoryController(IAppSubCategoryService appSubCategoryService)
 {
     _appSubCategoryService = appSubCategoryService;
 }