fixed errors and finish endpoints

This commit is contained in:
2026-03-09 23:24:01 +01:00
parent 679c552a3f
commit 756382a496
8 changed files with 124 additions and 12 deletions

View File

@@ -0,0 +1,13 @@
using Ardalis.Specification;
using BookHive.Models;
namespace BookHive.Specifications.Reviews;
public class GetReviewByCriteriaSpec : SingleResultSpecification<Review>
{
public GetReviewByCriteriaSpec(int bookId, int memberId)
{
Query
.Where(x => x.BookId == bookId && x.MemberId == memberId);
}
}