using System; using System.Threading.Tasks; using DevHive.Data.Models; using DevHive.Data.Repositories.Interfaces; namespace DevHive.Data.Interfaces.Repositories { public interface IRatingRepository : IRepository { Task GetByPostId(Guid postId); Task> GetRating(Guid postId); Task HasUserRatedThisPost(Guid userId, Guid postId); } }