no message

This commit is contained in:
kittapath 2024-10-15 14:22:30 +07:00
parent edd5bfe0c2
commit ab4fb64f83
2 changed files with 17 additions and 10 deletions

View file

@ -1710,11 +1710,13 @@ namespace BMA.EHR.Placement.Service.Controllers
data = resultData
});
var _result = await _res.Content.ReadAsStringAsync();
if (_res.IsSuccessStatusCode)
{
placementProfile.ForEach(profile => profile.PlacementStatus = "DONE");
await _context.SaveChangesAsync();
}
}
// update placementstatus
placementProfile.ForEach(profile => profile.PlacementStatus = "DONE");
await _context.SaveChangesAsync();
return Success();
}
catch
@ -1966,11 +1968,16 @@ namespace BMA.EHR.Placement.Service.Controllers
data = resultData
});
var _result = await _res.Content.ReadAsStringAsync();
if (_res.IsSuccessStatusCode)
{
placementProfile.ForEach(profile => profile.PlacementStatus = "DONE");
await _context.SaveChangesAsync();
}
}
// update placementstatus
placementProfile.ForEach(profile => profile.PlacementStatus = "DONE");
await _context.SaveChangesAsync();
// // update placementstatus
// placementProfile.ForEach(profile => profile.PlacementStatus = "DONE");
// await _context.SaveChangesAsync();
return Success();
}
catch