Пример #1
0
        public void Remove(int stItemId)
        {
            StockTransferItem item = context.StockTransferItems.Find(stItemId);

            context.StockTransferItems.Remove(item);

            context.SaveChanges();
        }
Пример #2
0
        public void Save(StockTransferItem stItem)
        {
            context.StockTransferItems.Add(stItem);

            context.SaveChanges();
        }
Пример #3
0
        public StockTransferItem Find(int stItemId)
        {
            StockTransferItem item = context.StockTransferItems.Find(stItemId);

            return(item);
        }