using System; using System.Collections.Generic; using System.Threading.Tasks; using DevHive.Data.Models; namespace DevHive.Data.Interfaces { public interface IRatingRepository : IRepository { Task> GetRatingsByPostId(Guid postId); Task UserRatedPost(Guid userId, Guid postId); Task GetRatingByUserAndPostId(Guid userId, Guid postId); Task DoesRatingExist(Guid id); } }