blob: 359ef55b6b568571e2743c51b6efc6ab8cd0ad3c (
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 IRateService
{
Task<ReadPostRatingServiceModel> RatePost(RatePostServiceModel ratePostServiceModel);
bool HasUserRatedThisPost(User user, Post post);
}
}
|