public string StockInQuantity(StockIn stockInObj)
        {
            StockInRepository stockInRepoObj = new StockInRepository();
            string            stockInInfo    = stockInRepoObj.StockInQuantity(stockInObj);

            return(stockInInfo);
        }
Ejemplo n.º 2
0
        private void frmStockIn_Load(object sender, EventArgs e)
        {
            StockInRepository cmb = new StockInRepository();

            cmb.ComboBoxCatagorySetup(categoryComboBox);
            cmb.ComboBoxCompanySetup(companyComboBox);
            cmb.ComboBoxItmeSetup(itemComboBox);
        }
Ejemplo n.º 3
0
 public StockInManager()
 {
     _stockInRepositiory  = new StockInRepository();
     _stockInRepositiory2 = new StockInRepository();
     _stockInRepositiory3 = new StockInRepository();
     _stockInRepositiory4 = new StockInRepository();
     _stockInRepositiory5 = new StockInRepository();
 }
Ejemplo n.º 4
0
        //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);
        }
Ejemplo n.º 5
0
 public StockInManager()
 {
     _stockInRepository = new StockInRepository();
 }