Ejemplo n.º 1
0
 public ItemApiController(ItemServiceInterface _itemService,
                          ItemRepositoryInterface itemRepo, UnitRepositoryInterface unitRepo)
 {
     this._itemService = _itemService;
     _itemRepo         = itemRepo;
     _unitRepo         = unitRepo;
 }
 public ItemController(IToastNotification toastNotification, ItemServiceInterface _itemService,
                       ItemRepositoryInterface itemRepo, UnitRepositoryInterface unitRepo)
 {
     _toastNotification = toastNotification;
     this._itemService  = _itemService;
     _itemRepo          = itemRepo;
     _unitRepo          = unitRepo;
 }
 public UnitService(UnitRepositoryInterface unitRepo)
 {
     _unitRepo = unitRepo;
 }
Ejemplo n.º 4
0
 public UnitApiController(UnitServiceInterface _UnitService, UnitRepositoryInterface unitRepo)
 {
     _unitService = _UnitService;
     _unitRepo    = unitRepo;
 }
 public UnitController(IToastNotification toastNotification, UnitServiceInterface _UnitService, UnitRepositoryInterface unitRepo)
 {
     _toastNotification = toastNotification;
     this._unitService  = _UnitService;
     _unitRepo          = unitRepo;
 }