Exemplo n.º 1
0
 public ProductService(IProductRepository repo)
 {
     this._repo = repo;
     _eTomHelper = new EntityToModelHelper();
     _mToeHelper = new ModelToEntityHelper();
 }
Exemplo n.º 2
0
 public CategoryService(ICategoryRepository repo)
 {
     this._repo = repo;
     _mToeHelper = new ModelToEntityHelper();
     _eTomHelper = new EntityToModelHelper();
 }