aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Data/Interfaces/Repositories/ICommentRepository.cs
blob: b80c5a019f2e80987db289644aea0c4feeae2d5e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
using System;
using System.Threading.Tasks;
using DevHive.Data.Models;
using DevHive.Data.Repositories.Interfaces;

namespace DevHive.Data.Interfaces.Repositories
{
	public interface ICommentRepository : IRepository<Comment>
	{
		Task<bool> DoesCommentExist(Guid id);
		Task<Comment> GetCommentByIssuerAndTimeCreatedAsync(Guid issuerId, DateTime timeCreated);
	}
}