public string StockInQuantity(StockIn stockInObj) { StockInRepository stockInRepoObj = new StockInRepository(); string stockInInfo = stockInRepoObj.StockInQuantity(stockInObj); return(stockInInfo); }
private void frmStockIn_Load(object sender, EventArgs e) { StockInRepository cmb = new StockInRepository(); cmb.ComboBoxCatagorySetup(categoryComboBox); cmb.ComboBoxCompanySetup(companyComboBox); cmb.ComboBoxItmeSetup(itemComboBox); }
public StockInManager() { _stockInRepositiory = new StockInRepository(); _stockInRepositiory2 = new StockInRepository(); _stockInRepositiory3 = new StockInRepository(); _stockInRepositiory4 = new StockInRepository(); _stockInRepositiory5 = new StockInRepository(); }
//public CategoryRepository CategoryRepository { get; private set; } public InventoryUnitOfWork(InventoryContext context) { _context = context; BillOrderRepository = new BillOrderRepository(_context); BillRepository = new BillRepository(_context); ClientRepository = new ClientRepository(_context); ItemRepository = new ItemRepository(_context); ItemSetItemRepository = new ItemSetItemRepository(_context); ItemSetRepository = new ItemSetRepository(_context); OrderItemRepository = new OrderItemRepository(_context); OrderItemRepository = new OrderItemRepository(_context); StockInRepository = new StockInRepository(_context); StockOutRepository = new StockOutRepository(_context); StockRepository = new StockRepository(_context); //CategoryRepository = new CategoryRepository(_context); }
public StockInManager() { _stockInRepository = new StockInRepository(); }