public static CL_AniDB_Anime ToClient(this SVR_AniDB_Anime anime) { return(new CL_AniDB_Anime { AniDB_AnimeID = anime.AniDB_AnimeID, AnimeID = anime.AnimeID, Description = anime.Description, EpisodeCount = anime.EpisodeCount, AirDate = anime.AirDate, EndDate = anime.EndDate, URL = anime.URL, Picname = anime.Picname, BeginYear = anime.BeginYear, EndYear = anime.EndYear, AnimeType = anime.AnimeType, MainTitle = anime.MainTitle, AllTitles = anime.AllTitles, AllTags = anime.AllTags, EpisodeCountNormal = anime.EpisodeCountNormal, EpisodeCountSpecial = anime.EpisodeCountSpecial, Rating = anime.Rating, VoteCount = anime.VoteCount, TempRating = anime.TempRating, TempVoteCount = anime.TempVoteCount, AvgReviewRating = anime.AvgReviewRating, ReviewCount = anime.ReviewCount, DateTimeUpdated = anime.GetDateTimeUpdated(), DateTimeDescUpdated = anime.DateTimeDescUpdated, ImageEnabled = anime.ImageEnabled, AwardList = anime.AwardList, Restricted = anime.Restricted, AnimePlanetID = anime.AnimePlanetID, ANNID = anime.ANNID, AllCinemaID = anime.AllCinemaID, AnimeNfo = anime.AnimeNfo, LatestEpisodeNumber = anime.LatestEpisodeNumber, DisableExternalLinksFlag = anime.DisableExternalLinksFlag }); }