diff options
| author | transtrike <transtrike@gmail.com> | 2021-02-13 18:36:25 +0200 |
|---|---|---|
| committer | transtrike <transtrike@gmail.com> | 2021-02-13 18:36:25 +0200 |
| commit | 018e9d303c38407589f06ec37a4a72dc4ce8e3b4 (patch) | |
| tree | 05387c66338796a4c207c3bcbeca454329a28120 /src/Data/DevHive.Data/Repositories/FeedRepository.cs | |
| parent | d9b9685204ece098df5a2425246a10bf65004b0f (diff) | |
| download | DevHive-018e9d303c38407589f06ec37a4a72dc4ce8e3b4.tar DevHive-018e9d303c38407589f06ec37a4a72dc4ce8e3b4.tar.gz DevHive-018e9d303c38407589f06ec37a4a72dc4ce8e3b4.zip | |
Merged New Project Structure; Fixed Kamen's Formatting Issues
Diffstat (limited to 'src/Data/DevHive.Data/Repositories/FeedRepository.cs')
| -rw-r--r-- | src/Data/DevHive.Data/Repositories/FeedRepository.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Data/DevHive.Data/Repositories/FeedRepository.cs b/src/Data/DevHive.Data/Repositories/FeedRepository.cs index 8899675..d3312d7 100644 --- a/src/Data/DevHive.Data/Repositories/FeedRepository.cs +++ b/src/Data/DevHive.Data/Repositories/FeedRepository.cs @@ -19,14 +19,14 @@ namespace DevHive.Data.Repositories } /// <summary> - /// This returns a given amount of posts of all given friends, created before "firstRequestIssued", + /// This returns a given amount of posts of all given friends, created before "firstRequestIssued", /// ordered from latest to oldest (time created). /// PageSize specifies how many posts to get, and pageNumber specifices how many posts to skip (pageNumber * pageSize). /// /// This method is used in the feed page. /// Posts from friends are meant to be gotten in chunks, meaning you get X posts, and then get another amount of posts, /// that are after the first X posts. - /// </summary> + /// </summary> public async Task<List<Post>> GetFriendsPosts(List<User> friendsList, DateTime firstRequestIssued, int pageNumber, int pageSize) { List<Guid> friendsIds = friendsList.Select(f => f.Id).ToList(); @@ -49,14 +49,14 @@ namespace DevHive.Data.Repositories } /// <summary> - /// This returns a given amount of posts, that a user has made, created before "firstRequestIssued", + /// This returns a given amount of posts, that a user has made, created before "firstRequestIssued", /// ordered from latest to oldest (time created). /// PageSize specifies how many posts to get, and pageNumber specifices how many posts to skip (pageNumber * pageSize). /// /// This method is used in the profile page. /// Posts from friends are meant to be gotten in chunks, meaning you get X posts, and then get another amount of posts, /// that are after the first X posts. - /// </summary> + /// </summary> public async Task<List<Post>> GetUsersPosts(User user, DateTime firstRequestIssued, int pageNumber, int pageSize) { List<Post> posts = await this._context.Posts |
