Пример #1
0
 public bool NotAvailable(int itemId)
 {
     if (_stockIn.GetAvailableQuantity(itemId) < _stockIn.GetReorderLevel(itemId))
     {
         return(true);
     }
     return(false);
 } //Method for compare between Reorder level and available quantity;
Пример #2
0
 public string GetAvailableQuantity(int itemId)
 {
     return(_stockInRepository.GetAvailableQuantity(itemId).ToString());
 }