Extract enum for later use
This commit is contained in:
parent
114ee4f09b
commit
e96cb0fde9
5 changed files with 22 additions and 13 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue