private TweetDay GetTestTweetDay() { var tweet = new TweetDay() { Bird = new Bird(), BirdId = 0, CreationDate = DateTime.Now.AddDays(-4), DisplayDay = DateTime.Today.AddDays(-2), LastUpdateDate = DateTime.Now.AddDays(-3), TweetDayId = 0 }; return(tweet); }
private IEnumerable <TweetDay> GetTweetDayCollection(int length) { var tweets = new List <TweetDay>(); for (int i = 0; i < length; i++) { var tweet = new TweetDay() { Bird = new Bird(), BirdId = 0, CreationDate = DateTime.Now.AddDays(-4), DisplayDay = DateTime.Today.AddDays(-2), LastUpdateDate = DateTime.Now.AddDays(-3), TweetDayId = 0 }; tweets.Add(tweet); } ; return(tweets); }