aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Data/Repositories/CommentRepository.cs
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-02-04 15:00:39 +0200
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-02-04 15:00:39 +0200
commita11d023c0e6557baef6b420771e31f9ac0f4b1e2 (patch)
tree6df33d5ea6b2573ed4c90ee63cb9e0be52865510 /src/DevHive.Data/Repositories/CommentRepository.cs
parentd969e5fd4055ff91113c8e00f57d58c077277414 (diff)
downloadDevHive-a11d023c0e6557baef6b420771e31f9ac0f4b1e2.tar
DevHive-a11d023c0e6557baef6b420771e31f9ac0f4b1e2.tar.gz
DevHive-a11d023c0e6557baef6b420771e31f9ac0f4b1e2.zip
Added some XML documentation in data layer
Diffstat (limited to 'src/DevHive.Data/Repositories/CommentRepository.cs')
-rw-r--r--src/DevHive.Data/Repositories/CommentRepository.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/DevHive.Data/Repositories/CommentRepository.cs b/src/DevHive.Data/Repositories/CommentRepository.cs
index 382c666..bee7624 100644
--- a/src/DevHive.Data/Repositories/CommentRepository.cs
+++ b/src/DevHive.Data/Repositories/CommentRepository.cs
@@ -28,6 +28,9 @@ namespace DevHive.Data.Repositories
.FirstOrDefaultAsync(x => x.Id == id);
}
+ /// <summary>
+ /// This method returns the comment that is made at exactly the given time and by the given creator
+ /// </summary>
public async Task<Comment> GetCommentByIssuerAndTimeCreatedAsync(Guid issuerId, DateTime timeCreated)
{
return await this._context.Comments