Beispiel #1
0
        public int GetAvailableQuantity(int Id)
        {
            int  i = 0;
            bool isNullAavailableQuantity = stockInGateway.IsNullAvailableQuantity(Id);

            if (isNullAavailableQuantity)
            {
                return(i);
            }
            else
            {
                return(stockInGateway.GetAvailableQuantity(Id));
            }
        }
 public int GetAvailableQuantity(int id)
 {
     return(stockInGateway.GetAvailableQuantity(id));
 }