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;
public string GetAvailableQuantity(int itemId) { return(_stockInRepository.GetAvailableQuantity(itemId).ToString()); }