public Season(DM.MovieApi.MovieDb.TV.Season season) { Id = season.Id; AirDate = ((DateTimeOffset)season.AirDate).ToUnixTimeSeconds(); EpisodeCount = season.EpisodeCount; Path = season.PosterPath; SeasonNumber = season.SeasonNumber; }
public TVShow() { CreatedBy = new TVShowCreator[0]; EpisodeRunTime = new int[0]; Genres = new Genre[0]; Languages = new string[0]; Networks = new Network[0]; OriginCountry = new string[0]; ProductionCompanies = new ProductionCompanyInfo[0]; Seasons = new Season[0]; }