コード例 #1
0
 public ProductsController(IProductRepository product, ICategoryRepositry category,
                           IBrandRepository brand, IModelRepositry model,
                           IProductAttributesRepository productAttributes)
 {
     this.product           = product;
     this.category          = category;
     this.brand             = brand;
     this.model             = model;
     this.productAttributes = productAttributes;
 }
コード例 #2
0
 public CategoriesController(ICategoryRepositry categoryRepositry, IFIlterRepository fIlterRepository)
 {
     _CategoryRepository = categoryRepositry;
     _FIlterRepository   = fIlterRepository;
 }
コード例 #3
0
 public CategoryController(ICategoryRepositry categoryRepositry, IMapper mapper)
 {
     _categoryRepositry = categoryRepositry;
     _mapper            = mapper;
 }
コード例 #4
0
 public ModelsController(IModelRepositry repositry, ICategoryRepositry category)
 {
     Repositry    = repositry;
     CategoryRepo = category;
 }
コード例 #5
0
 public CategoriesController(IAttributeRepositry attribute, ICategoryRepositry category)
 {
     Attribute     = attribute;
     this.category = category;
 }