コード例 #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 ModelsController(IModelRepositry repositry, ICategoryRepositry category)
 {
     Repositry    = repositry;
     CategoryRepo = category;
 }