AsNoTracking for images
This commit is contained in:
parent
39027ac835
commit
f8048a533d
@ -156,7 +156,7 @@ namespace RSecurityBackend.Services.Implementation
|
||||
try
|
||||
{
|
||||
return new RServiceResult<RImage>(
|
||||
await _context.GeneralImages
|
||||
await _context.GeneralImages.AsNoTracking()
|
||||
.Where(p => p.Id == id)
|
||||
.SingleOrDefaultAsync()
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user