Newsbot.Collector/Newsbot.Collector.Services/Jobs/HelloWorldJob.cs

18 lines
271 B
C#

namespace Newsbot.Collector.Services.Jobs;
public class HelloWorldJob
{
public readonly string _message;
public HelloWorldJob(string message)
{
_message = message;
}
public void Execute()
{
Console.WriteLine(_message);
}
}