/// <summary>
        /// Löscht das EPG.
        /// Clears the EPG.
        /// </summary>
        /// <param name="epgClear">If is not specified the default is: all EPG data will be deleted (default value of the options is 7)</param>
        /// <returns></returns>
        public static Task <HttpStatusCode> DeleteEpgAsync(Enums.EpgClearSources epgClear = Enums.EpgClearSources.DVB | Enums.EpgClearSources.MHW | Enums.EpgClearSources.External)
        {
            var api = DVBViewerServerApi.GetCurrentInstance();

            if (api != null)
            {
                return(api.SendApiDataAsync("egpclear", new List <Helper.UriParameter>
                {
                    new Helper.UriParameter("source", $"{(int)epgClear}")
                }));
            }
            else
            {
                return(Task.FromResult <HttpStatusCode>(0));
            }
        }
 /// <summary>
 /// Löscht das EPG.
 /// Clears the EPG.
 /// </summary>
 /// <param name="epgClear">If is not specified the default is: all EPG data will be deleted (default value of the options is 7)</param>
 /// <returns></returns>
 public static HttpStatusCode DeleteEpg(Enums.EpgClearSources epgClear = Enums.EpgClearSources.DVB | Enums.EpgClearSources.MHW | Enums.EpgClearSources.External)
 {
     return(DeleteEpgAsync(epgClear).Result);
 }