22 lines
535 B
C#
22 lines
535 B
C#
using System.Threading.Tasks;
|
|
using FarmmapsApi;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
namespace FarmmapsKPI
|
|
{
|
|
class Program : FarmmapsProgram<KPIApplication>
|
|
{
|
|
private static async Task Main(string[] args)
|
|
{
|
|
await new Program().Start(args);
|
|
}
|
|
|
|
protected override void Configure(IServiceCollection serviceCollection)
|
|
{
|
|
serviceCollection.AddLogging()
|
|
.AddTransient<KPIService>();
|
|
}
|
|
}
|
|
}
|