|
|
|
@ -59,7 +59,8 @@ namespace NzbDrone.Api
|
|
|
|
|
Mapper.CreateMap<Core.Repository.Series, SeriesResource>()
|
|
|
|
|
.ForMember(dest => dest.Id, opt => opt.MapFrom(src => src.SeriesId))
|
|
|
|
|
.ForMember(dest => dest.CustomStartDate, opt => opt.ResolveUsing<NullableDatetimeToString>().FromMember(src => src.CustomStartDate))
|
|
|
|
|
.ForMember(dest => dest.BacklogSetting, opt => opt.MapFrom(src => (Int32)src.BacklogSetting));
|
|
|
|
|
.ForMember(dest => dest.BacklogSetting, opt => opt.MapFrom(src => (Int32)src.BacklogSetting))
|
|
|
|
|
.ForMember(dest => dest.NextAiring, opt => opt.ResolveUsing<NextAiringResolver>());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override ILifetimeScope GetApplicationContainer()
|
|
|
|
|