2020-08-19 11:40:42 +00:00
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using FarmmapsApi;
|
|
|
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
|
|
|
|
|
|
namespace FarmmapsVRApoten
|
|
|
|
|
{
|
|
|
|
|
class Program : FarmmapsProgram<PotenApplication>
|
|
|
|
|
{
|
|
|
|
|
private static async Task Main(string[] args)
|
|
|
|
|
{
|
|
|
|
|
await new Program().Start(args);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override void Configure(IServiceCollection serviceCollection)
|
|
|
|
|
{
|
2021-04-19 11:14:30 +00:00
|
|
|
|
serviceCollection.AddLogging()
|
2020-08-19 11:40:42 +00:00
|
|
|
|
.AddTransient<PotenService>();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|