Skip to content

Instantly share code, notes, and snippets.

@joshz
Created June 10, 2011 20:37
Show Gist options
  • Save joshz/1019711 to your computer and use it in GitHub Desktop.
Save joshz/1019711 to your computer and use it in GitHub Desktop.
OdeToFood Queries: FindTheBest, FindTheLatest - RestaurantReviewQueries
using System.Collections.Generic;
using OdeToFood.Models;
namespace OdeToFood.Queries
{
public static class RestaurantReviewQueries
{
//...
public static RestaurantReview FindTheBest(this IQueryable<RestaurantReview> reviews)
{
//...
}
public static IEnumerable<RestaurantReview> FindTheLatest(this IQueryable<RestaurantReview> reviews, int count)
{
//...
}
}
}
@joshz
Copy link
Author

joshz commented Jun 21, 2011

[dead]

details: joshz.github.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment