Skip to content
Snippets Groups Projects

Add tests

Merged Soňa Nemečkayová requested to merge review-tests into restaurant-location-user-testing
@@ -50,7 +50,7 @@ namespace BusinessLayer.Services.ReviewService
{
var review = await _dbContext.Reviews.FindAsync(id);
if (review is null)
if (review is null || review.DeletedAt is not null)
{
return false;
}
Loading