修改仓储
This commit is contained in:
@@ -65,7 +65,7 @@ namespace IRaCIS.Application.Services
|
||||
var attachment = await _attachmentRepository.InsertFromDTOAsync(attachmentViewModel);
|
||||
|
||||
//intoGroupItem.AttachmentId = attachment.Id;
|
||||
await _enrollRepository.UpdateNoQueryAsync(intoGroupItem.Id,u=>new Enroll(){AttachmentId = attachment.Id});
|
||||
await _enrollRepository.UpdatePartialNoQueryAsync(intoGroupItem.Id,u=>new Enroll(){AttachmentId = attachment.Id});
|
||||
|
||||
|
||||
var success = await _enrollRepository.SaveChangesAsync();
|
||||
|
||||
Reference in New Issue
Block a user