Fontos kezelési javítások
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user