blob: 7b553ec2777a46627bdc5b98f1ee66d250085d6a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using DevHive.Data.Models;
namespace DevHive.Data.Interfaces
{
public interface ICommentRepository : IRepository<Comment>
{
Task<List<Comment>> GetPostComments(Guid postId);
Task<bool> DoesCommentExist(Guid id);
Task<Comment> GetCommentByIssuerAndTimeCreatedAsync(Guid issuerId, DateTime timeCreated);
}
}
|