Working on 'RssService'

This commit is contained in:
Max 2023-05-07 02:42:37 +02:00
parent 568a5e5664
commit 3351abad20
2 changed files with 11 additions and 0 deletions

View File

@ -1,5 +1,8 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CodeHollow.FeedReader;
using SharpRss.Models;
namespace SharpRss
{
@ -9,6 +12,12 @@ namespace SharpRss
{
//TODO: Check if db exists else create.
}
public async Task<HashSet<CategoryItem>> GetCategories()
{
return new HashSet<CategoryItem>();
}
public async void GetFeeds()
{
//TODO: Load from db or something.

View File

@ -3,6 +3,8 @@
@using CodeHollow.FeedReader
@using Serilog
@inject RssService _rssService
<MudStack Spacing="2">
<MudNavMenu>
<MudNavLink Href="/" Icon="@Icons.Material.Filled.Home">Home</MudNavLink>