Update device report modification date when merged.

This commit is contained in:
2019-12-27 22:37:11 +00:00
parent 82dfde1d0f
commit f77b23c9d8

View File

@@ -245,6 +245,8 @@ namespace DiscImageChef.Server.Areas.Admin.Controllers
_context.Update(masterDevice);
}
masterDevice.ModifiedWhen = DateTime.UtcNow;
_context.Update(masterDevice);
_context.Remove(slaveDevice);
_context.SaveChanges();