Idk, dev work goin on
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using WinWARP.Core.Enums;
|
||||
|
||||
namespace WinWARP.Core.Services.Interfaces;
|
||||
|
||||
public interface IDialogService
|
||||
{
|
||||
Task<(CommonDialogResult Result, string Title, string URL, int UpdateInterval)> ShowAddSubscriptionAsync();
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using WinWARP.Core.Models.Entities;
|
||||
|
||||
namespace WinWARP.Core.Services.Interfaces;
|
||||
|
||||
public interface ISubscriptionFetcher
|
||||
{
|
||||
public bool IsUrlValid(string url);
|
||||
public Task<Subscription> FetchAsync(string url);
|
||||
}
|
||||
Reference in New Issue
Block a user