public Contract_TraktTVShowResponse ToContract()
        {
            Contract_TraktTVShowResponse contract = new Contract_TraktTVShowResponse();

            contract.title = show.Title;
            contract.year = show.Year.ToString();
            contract.url = ShowURL;
            contract.first_aired = string.Empty;
            contract.country = string.Empty;
            contract.overview = show.Overview;
            contract.tvdb_id = show.ids.tvdb.ToString();

            return contract;
        }
Esempio n. 2
0
		public Contract_TraktTVShowResponse ToContract()
		{
			Contract_TraktTVShowResponse contract = new Contract_TraktTVShowResponse();

			contract.title = title;
			contract.year = year;
			contract.url = url;
			contract.first_aired = first_aired;
			contract.country = country;
			contract.overview = overview;
			contract.tvdb_id = tvdb_id;

			return contract;
		}