Exemplo n.º 1
0
 public async Task <IActionResult> StartPlotGenerationAsync([FromForm] PlottingConfiguration configuration)
 {
     _ = Task.Run(() => PlotManager.GeneratePlotAsync(configuration));
     return(Ok());
 }
Exemplo n.º 2
0
 public IActionResult StartPlotGeneration([FromBody] PlottingConfiguration configuration)
 {
     _ = Task.Run(() => PlotManager.GeneratePlotAsync(configuration));
     return(Ok());
 }