Website Summary Files Commits Branches @commit @diff @stats
path: root / src / DevHive.Data / Repositories / CommentRepository.cs
diff options
context:
space:
mode:
Commita11d023c0e6557baef6b420771e31f9ac0f4b1e2 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-02-04 15:00:39 +0200
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-02-04 15:00:39 +0200
Files6df33d5ea6b2573ed4c90ee63cb9e0be52865510 /src/DevHive.Data/Repositories/CommentRepository.cs
DevHive-a11d023c0e6557baef6b420771e31f9ac0f4b1e2.tar
DevHive-a11d023c0e6557baef6b420771e31f9ac0f4b1e2.tar.gz
DevHive-a11d023c0e6557baef6b420771e31f9ac0f4b1e2.zip
Parentd969e5fd4055ff91113c8e00f57d58c077277414 (diff)
Added some XML documentation in data layer
1 files changed, 3 insertions, 0 deletions
-rw-r--r--src/DevHive.Data/Repositories/CommentRepository.cs3
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