- OK salvataggio ricetta in MongoDB
This commit is contained in:
Samuele Locatelli
2023-02-08 18:52:38 +01:00
parent c92d8e0096
commit dde39d52dd
10 changed files with 243 additions and 42 deletions
+11
View File
@@ -82,6 +82,17 @@ namespace MP.SPEC.Data
return mongoController.InitRecipe(idxPODL, confPath);
}
/// <summary>
/// Salva ricetta su MongoDB
/// </summary>
/// <param name="currRecord"></param>
/// <returns></returns>
public async Task<bool> RecipeSetByPODL(RecipeModel currRecord)
{
bool answ = false;
answ = await mongoController.RecipeSetByPODL(currRecord);
return answ;
}
/// <summary>
/// Ricerca ricetta su MongoDB dato PODL
/// </summary>
/// <param name="idxPODL"></param>