blob: 267f2513cdd1e938332406a7ae1174a93c0638df (
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.Repositories
{
public interface ICommentRepository : IRepository<Comment>
{
Task<List<Comment>> GetPostComments(Guid postId);
Task<bool> DoesCommentExist(Guid id);
Task<Comment> GetCommentByIssuerAndTimeCreatedAsync(Guid issuerId, DateTime timeCreated);
}
}
|