Simply entities & seperate endpoints
This commit is contained in:
parent
41faa30e6f
commit
6d4dfcda67
22 changed files with 299 additions and 615 deletions
|
|
@ -344,19 +344,11 @@ public class AutoMapperProfiles : Profile
|
|||
.ForMember(dest => dest.IsExternal,
|
||||
opt =>
|
||||
opt.MapFrom(src => true));
|
||||
CreateMap<ExternalChapterReview, UserReviewDto>()
|
||||
.ForMember(dest => dest.IsExternal,
|
||||
opt =>
|
||||
opt.MapFrom(src => true));
|
||||
|
||||
CreateMap<UserReviewDto, ExternalReview>()
|
||||
.ForMember(dest => dest.BodyJustText,
|
||||
opt =>
|
||||
opt.MapFrom(src => ReviewHelper.GetCharacters(src.Body)));
|
||||
CreateMap<UserReviewDto, ExternalChapterReview>()
|
||||
.ForMember(dest => dest.BodyJustText,
|
||||
opt =>
|
||||
opt.MapFrom(src => ReviewHelper.GetCharacters(src.Body)));
|
||||
|
||||
CreateMap<ExternalRecommendation, ExternalSeriesDto>();
|
||||
CreateMap<Series, ManageMatchSeriesDto>()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue