James Tombleson
17e97b4e09
* inital table clients are almost ready * adding new repo interfaces * adding MS DI to the tables * adding tables and MS DI to jobs * updated how the config builder works and pass Iconfig to jobs * Updated how articles interface returns a value * updated constructors to support DI and removed static call * added source consts and model notes * updated sources.type to contain the value to link what job collects it * added RssWatcherJob to hangfire * DI and hangfire jobs wont work. Defering to options classes * Services updated to have options exposed over DI * Tests have been updated.. more to come
11 lines
316 B
C#
11 lines
316 B
C#
using Newsbot.Collector.Domain.Models;
|
|
|
|
namespace Newsbot.Collector.Domain.Interfaces;
|
|
|
|
public interface IArticlesRepository : ITableRepository
|
|
{
|
|
List<ArticlesModel>List(int age, int count);
|
|
ArticlesModel GetById(Guid ID);
|
|
ArticlesModel GetByUrl(string url);
|
|
ArticlesModel New(ArticlesModel model);
|
|
} |