forked from FarmMaps/FarmMapsApiClient
new project FarmmapsCleanUp to clean up cropfielditems and satellitetaskcodes used only once
This commit is contained in:
21
FarmmapsCleanUp/Program.cs
Normal file
21
FarmmapsCleanUp/Program.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System.Threading.Tasks;
|
||||
using FarmmapsApi;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace FarmmapsCleanup
|
||||
{
|
||||
class Program : FarmmapsProgram<CleanupApplication>
|
||||
{
|
||||
private static async Task Main(string[] args)
|
||||
{
|
||||
await new Program().Start(args);
|
||||
}
|
||||
|
||||
protected override void Configure(IServiceCollection serviceCollection)
|
||||
{
|
||||
serviceCollection.AddLogging()
|
||||
.AddTransient<CleanupService>();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user