public void DeleteProductRange(int id) { ProductRanges.RemoveRange(ProductRanges.Where(pr => pr.Id == id)); }
public ProductRange FindProductRange(int id) { return(ProductRanges.Where(pr => pr.Id == id) .SingleOrDefault()); }