Fontos kezelési javítások

This commit is contained in:
2025-06-04 12:25:04 +02:00
parent 6839fc0b78
commit ff9d6ae361
7 changed files with 66 additions and 9 deletions
+1 -2
View File
@@ -212,8 +212,7 @@ namespace WorkFlowCheck.BL.Services
var res = await _dbContext.Locations.Where(w => w.Id == LocationDTO.Id).FirstOrDefaultAsync();
if (res != null)
{
res = _mapper.Map<DL.Entities.Location>(LocationDTO);
res.FullName = LocationDTO.FullName;
await _dbContext.SaveChangesAsync();
retVal = _mapper.Map<LocationDTO>(res);