/// <summary>
        /// Method for obtaining a list of completed tasks.
        /// </summary>
        public static IEnumerable <GridOrder> GetCompletedOrders(DpaClient dpaClient)
        {
            var filter = new GridRequestOptions()
            {
                Skip   = 0,
                Take   = 20,
                Filter = new object[]
                {
                    new string[]
                    {
                        "status",
                        "=",
                        ((int)JobStatus.Completed).ToString()
                    }
                }
            };

            var processingProgramRecordJson = dpaClient.GetOrders(filter);

            return(JsonConvert.DeserializeObject <List <GridOrder> >(processingProgramRecordJson));
        }