private async Task SaveModel(PredictionModel <SalesData, SalesPrediction> model) { ConsoleWriteHeader("Save model to local file"); ModelHelpers.DeleteAssets(modelLocation); await model.WriteAsync(modelLocation); Console.WriteLine($"Model saved: {modelLocation}"); }