public BagsController() { this.bagRepo = new BagReporsitory(new SLTDbContext()); }
public GreedyAlgorithm(IItemRepository itemRepository, IBagRepository bagRepository) { _itemRepository = itemRepository; _bagRepository = bagRepository; }
public BagBuilderFromFile(IBagRepository bagRepository, IDtoStore dtoStore) { _bagRepository = bagRepository; _dtoStore = dtoStore; }
public BagBusiness(IBagRepository bagRepository) { _bagRepository = bagRepository; }
public KnapsackSolutionWriterToFile(IDtoStore dtoStore, IItemRepository itemRepository, IBagRepository bagRepository) { _dtoStore = dtoStore; _itemRepository = itemRepository; _bagRepository = bagRepository; }
public DynamicProgrammingAlgorithm(IBagRepository bagRepository, IItemRepository itemRepository) { _bagRepository = bagRepository; _itemRepository = itemRepository; }