public CategoriesController(CategoryAPIService categoryAPIService, IMapper mapper) { _categoryAPIService = categoryAPIService; _mapper = mapper; }
public CategoyController(ICategoryService categoryService, IMapper mapper, CategoryAPIService categoryAPIService) { _categoryService = categoryService; _mapper = mapper; _categoryAPIService = categoryAPIService; }