private bool InventoryExists(int id) { return(_inventoryRepository.Count(e => e.InventoryId == id) > 0); }
public int Count(IDictionary <string, object> filter) { return(inventoryRepository.Count(filter)); }
private bool InventoryExists(int id) { return(_inventoryRepository.Count(e => e.InventoryId == id) > 0); }
public int Count(IDictionary <string, object> filter) { return(inventoryRepository.Count(filter)); }