diff --git a/IRaCIS.Core.Application/Service/Doctor/AttachmentService.cs b/IRaCIS.Core.Application/Service/Doctor/AttachmentService.cs index cca070af8..06c292998 100644 --- a/IRaCIS.Core.Application/Service/Doctor/AttachmentService.cs +++ b/IRaCIS.Core.Application/Service/Doctor/AttachmentService.cs @@ -231,6 +231,7 @@ namespace IRaCIS.Core.Application.Service await _attachmentrepository.DeleteFromQueryAsync(a => a.DoctorId == attachment.DoctorId && a.Type == attachment.Type); } + attachment.UpdateTime = DateTime.Now; await _attachmentrepository.UpdateFromDTOAsync(attachment); await _attachmentrepository.SaveChangesAsync();