Пример #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;
 }