mirror of
https://github.com/hmaxnl/SharpRSS.git
synced 2024-11-09 23:44:20 +01:00
Working on 'RssService'
This commit is contained in:
parent
568a5e5664
commit
3351abad20
|
@ -1,5 +1,8 @@
|
||||||
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using System.Threading.Tasks;
|
||||||
using CodeHollow.FeedReader;
|
using CodeHollow.FeedReader;
|
||||||
|
using SharpRss.Models;
|
||||||
|
|
||||||
namespace SharpRss
|
namespace SharpRss
|
||||||
{
|
{
|
||||||
|
@ -9,6 +12,12 @@ namespace SharpRss
|
||||||
{
|
{
|
||||||
//TODO: Check if db exists else create.
|
//TODO: Check if db exists else create.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public async Task<HashSet<CategoryItem>> GetCategories()
|
||||||
|
{
|
||||||
|
return new HashSet<CategoryItem>();
|
||||||
|
}
|
||||||
|
|
||||||
public async void GetFeeds()
|
public async void GetFeeds()
|
||||||
{
|
{
|
||||||
//TODO: Load from db or something.
|
//TODO: Load from db or something.
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
@using CodeHollow.FeedReader
|
@using CodeHollow.FeedReader
|
||||||
@using Serilog
|
@using Serilog
|
||||||
|
|
||||||
|
@inject RssService _rssService
|
||||||
|
|
||||||
<MudStack Spacing="2">
|
<MudStack Spacing="2">
|
||||||
<MudNavMenu>
|
<MudNavMenu>
|
||||||
<MudNavLink Href="/" Icon="@Icons.Material.Filled.Home">Home</MudNavLink>
|
<MudNavLink Href="/" Icon="@Icons.Material.Filled.Home">Home</MudNavLink>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user