Exemplo n.º 1
0
        public St_Stkjournal AddStockJournal(St_Stkjournal stkJournal)
        {
            _stockControlDBContext.St_Stkjournals.Add(stkJournal);

            _stockControlDBContext.SaveChanges();

            return(stkJournal);
        }
Exemplo n.º 2
0
        public Supplier AddSupplier(Supplier supplier)
        {
            _stockControlContext.St_Supplier.Add(supplier);

            _stockControlContext.SaveChanges();

            return(supplier);
        }