public void Configure(IApplicationBuilder app, IWebHostEnvironment env, AliceService aliceService)
        {
            aliceService.Load();

            app.UseRouting();
            app.UseEndpoints(endpoints => { endpoints.MapControllers(); });
        }
Exemple #2
0
 public AliceController(AliceService aliceService)
 {
     _aliceService = aliceService;
 }
Exemple #3
0
 public AliceController()
 {
     service = new AliceService();
 }