@@ -81,7 +81,7 @@ namespace IRaCIS.Core.Application.Service
|
||||
/// <param name="_auditDocumentRepository"></param>
|
||||
/// <returns></returns>
|
||||
[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.SaveChangesAsync();
|
||||
|
||||
return ResponseOutput.Ok();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user