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