Example #1
0
 public ProductController(ICategoryRepository category, ICurrencyRepository currency,
                          IProductRepository product, IStoregeRepository storege)
 {
     productRepository  = product;
     currencyRepository = currency;
     storegeRepository  = storege;
     categoryRepository = category;
 }
Example #2
0
 public StorageController(IStoregeRepository sr, IProductRepository product, ICurrencyRepository currency)
 {
     storegeRepository  = sr;
     currencyRepository = currency;
     productRepository  = product;
 }