PODL:
- Fix ordinamento su DB
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user