重建闭包表修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
3685686447
commit
09bf2b4d91
|
@ -81,7 +81,7 @@ namespace IRaCIS.Core.Application.Service
|
||||||
/// <param name="_auditDocumentRepository"></param>
|
/// <param name="_auditDocumentRepository"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
[AllowAnonymous]
|
[AllowAnonymous]
|
||||||
public async Task RebuildAuditDocumentClosureAsync([FromServices] IRepository<AuditDocumentClosure> _auditDocumentClosureRepository, [FromServices] IRepository<AuditDocument> _auditDocumentRepository)
|
public async Task<IResponseOutput> RebuildAuditDocumentClosureAsync([FromServices] IRepository<AuditDocumentClosure> _auditDocumentClosureRepository, [FromServices] IRepository<AuditDocument> _auditDocumentRepository)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
@ -134,6 +134,8 @@ namespace IRaCIS.Core.Application.Service
|
||||||
|
|
||||||
await _auditDocumentClosureRepository.AddRangeAsync(closures);
|
await _auditDocumentClosureRepository.AddRangeAsync(closures);
|
||||||
await _auditDocumentClosureRepository.SaveChangesAsync();
|
await _auditDocumentClosureRepository.SaveChangesAsync();
|
||||||
|
|
||||||
|
return ResponseOutput.Ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue