public ActionResult AutoEztvQueueDownload(FormCollection collection)
        {
            string displayMethod = string.Empty;



            ViewBag.DownloadMethod       = "Queue Download";
            ViewBag.DownloadActionStatus = "successful";
            ViewBag.DownloadFileName     = collection["downloadFileName"];

            //Set the download id of the added file to pass id to check status link in alert
            ViewBag.DownloadQueueId = null;

            List <EztvResult> results = EztvApiLibrary.GetEztvDownloads();

            return(View("Eztv", results));
        }
        public ActionResult Eztv(int?id)
        {
            List <EztvResult> downloads = new List <EztvResult>();

            if (!id.HasValue)
            {
                downloads = EztvApiLibrary.GetEztvDownloads();
            }
            else
            {
                int.TryParse(id.ToString(), out int results);
                downloads = EztvApiLibrary.GetEztvDownloads(pageResults: results);
            }


            return(View(downloads.OrderBy(show => show.imdb_id)));
        }