aboutsummaryrefslogtreecommitdiff
path: root/src/Services/DevHive.Services/Interfaces/IRatingService.cs
blob: adb431308d970986023bdc08d9e711d897703968 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using System;
using System.Threading.Tasks;
using DevHive.Data.Models;
using DevHive.Services.Models.Post.Rating;

namespace DevHive.Services.Interfaces
{
	public interface IRatingService
	{
		Task<ReadRatingServiceModel> RatePost(CreateRatingServiceModel ratePostServiceModel);

		bool HasUserRatedThisPost(User user, Post post);
	}
}