diff options
Diffstat (limited to 'src/Data/DevHive.Data/Interfaces/IRatingRepository.cs')
| -rw-r--r-- | src/Data/DevHive.Data/Interfaces/IRatingRepository.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Data/DevHive.Data/Interfaces/IRatingRepository.cs b/src/Data/DevHive.Data/Interfaces/IRatingRepository.cs index b5aff88..c8636b6 100644 --- a/src/Data/DevHive.Data/Interfaces/IRatingRepository.cs +++ b/src/Data/DevHive.Data/Interfaces/IRatingRepository.cs @@ -1,4 +1,5 @@ using System; +using System.Collections.Generic; using System.Threading.Tasks; using DevHive.Data.Models; using DevHive.Data.Repositories.Interfaces; @@ -7,7 +8,7 @@ namespace DevHive.Data.Interfaces { public interface IRatingRepository : IRepository<Rating> { - Task<Rating> GetRatingByPostId(Guid postId); + Task<List<Rating>> GetRatingsByPostId(Guid postId); Task<bool> UserRatedPost(Guid userId, Guid postId); } } |
