Unify ChapterRating with Rating
This commit is contained in:
parent
a9e2937651
commit
f29c63c6c4
34 changed files with 266 additions and 679 deletions
|
|
@ -97,22 +97,6 @@ public class AutoMapperProfiles : Profile
|
|||
.ForMember(dest => dest.Username,
|
||||
opt =>
|
||||
opt.MapFrom(src => src.AppUser.UserName));
|
||||
CreateMap<AppUserChapterRating, UserReviewDto>()
|
||||
.ForMember(dest => dest.LibraryId,
|
||||
opt =>
|
||||
opt.MapFrom(src => src.Series.LibraryId))
|
||||
.ForMember(dest => dest.VolumeId,
|
||||
opt =>
|
||||
opt.MapFrom(src => src.VolumeId))
|
||||
.ForMember(dest => dest.ChapterId,
|
||||
opt =>
|
||||
opt.MapFrom(src => src.ChapterId))
|
||||
.ForMember(dest => dest.Body,
|
||||
opt =>
|
||||
opt.MapFrom(src => src.Review))
|
||||
.ForMember(dest => dest.Username,
|
||||
opt =>
|
||||
opt.MapFrom(src => src.AppUser.UserName));
|
||||
|
||||
CreateMap<AppUserProgress, ProgressDto>()
|
||||
.ForMember(dest => dest.PageNum,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue