blob: f85849f79957c944546395b095367e42a1b23c94 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using DevHive.Data.Models;
using DevHive.Data.Repositories.Interfaces;
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);
}
}
|