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); } }