Extract enum for later use

This commit is contained in:
Amelia 2025-04-26 00:42:43 +02:00
parent 114ee4f09b
commit e96cb0fde9
No known key found for this signature in database
GPG key ID: D6D0ECE365407EAA
5 changed files with 22 additions and 13 deletions

View file

@ -1,5 +1,6 @@
using System;
using API.Entities;
using API.Entities.Enums;
namespace API.Helpers.Builders;
@ -46,5 +47,11 @@ public class ChapterRatingBuilder
return this;
}
public ChapterRatingBuilder WithProvider(RatingProvider provider)
{
_rating.Provider = provider;
return this;
}
}