James Tombleson
9f3a6323a6
* gave api access to the db project * added db models * working on rss extraction and meta extraction * test project to debug rsswatcherjob * added new configs for the project * new interface to define collectors * basic rss extraction and article details are now exposed * tests updated for rss pull * starting to get dapper working. Query works but insert seems to have a value issue * removed dapper from services * added some basic tests for db calls
23 lines
359 B
C#
23 lines
359 B
C#
|
|
namespace Newsbot.Collector.Services.Jobs;
|
|
|
|
public class HelloWorldJob
|
|
{
|
|
|
|
public string _message { get; set; }
|
|
|
|
public HelloWorldJob(string message)
|
|
{
|
|
_message = message;
|
|
}
|
|
|
|
public void SetMessage(string message)
|
|
{
|
|
_message = message;
|
|
}
|
|
|
|
public void Execute()
|
|
{
|
|
Console.WriteLine(_message);
|
|
}
|
|
} |