- Fix ordinamento su DB
This commit is contained in:
Samuele Locatelli
2022-11-28 18:30:06 +01:00
parent c67ba09ff3
commit b5ed157106
9 changed files with 102 additions and 49 deletions
+2 -2
View File
@@ -1064,7 +1064,7 @@ namespace MP.Data.Controllers
/// </summary>
/// <param name="currRec"></param>
/// <returns></returns>
public async Task<bool> PODLUpdateRecord(PODLExpModel editRec)
public async Task<bool> PODLUpdateRecord(PODLModel editRec)
{
bool fatto = false;
using (var dbCtx = new MoonProContext(_configuration))
@@ -1092,7 +1092,7 @@ namespace MP.Data.Controllers
{
dbCtx
.DbSetPODL
.Add(currRec);
.Add(editRec);
}
await dbCtx.SaveChangesAsync();
fatto = true;