Slight changes to the entity, more UI work
This commit is contained in:
parent
5656fb2148
commit
9b4a4b8a50
24 changed files with 864 additions and 315 deletions
|
|
@ -21,13 +21,21 @@ public class AppUserReadingProfileBuilder
|
|||
|
||||
public AppUserReadingProfileBuilder WithSeries(Series series)
|
||||
{
|
||||
_profile.Series.Add(series);
|
||||
_profile.Series.Add(new SeriesReadingProfile
|
||||
{
|
||||
Series = series,
|
||||
AppUserId = _profile.UserId,
|
||||
});
|
||||
return this;
|
||||
}
|
||||
|
||||
public AppUserReadingProfileBuilder WithLibrary(Library library)
|
||||
{
|
||||
_profile.Libraries.Add(library);
|
||||
_profile.Libraries.Add(new LibraryReadingProfile
|
||||
{
|
||||
Library = library,
|
||||
AppUserId = _profile.UserId,
|
||||
});
|
||||
return this;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue