Created
June 10, 2011 20:37
-
-
Save joshz/1019711 to your computer and use it in GitHub Desktop.
OdeToFood Queries: FindTheBest, FindTheLatest - RestaurantReviewQueries
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | |
{ | |
//... | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[dead]
details: joshz.github.com