コード例 #1
0
        public string UpdateAvailableQuantityById(StockIn stockIn)
        {
            int rowAffect = stockInGateway.UpdateAvailableQuantityByItemId(stockIn);

            if (rowAffect > 0)
            {
                return("Item stored before. Restored successfully! ");
            }
            else
            {
                return("Failed to restore item!");
            }
        }