This project is read-only.
1
Vote

Ha, please add random logic to this method.

description

[WebGet]
    public IQueryable<Photo> getRandomPhotos(int number)
    {
        SocialPhotoModelContainer context = this.CurrentDataSource;
        if (number > 12) number = 12;
        return context.Photos.Take(number);
    }

comments