public async Task <ArticleAuditLogDto> AuditAsync(Guid id, AuditRequestDto input)
        {
            var article = await _repository.GetAsync(id);

            article.SetAuditStatus(input.Status);

            var result = await _logManager.WriteAsync(article.Id, article.TenantId, input.Status, input.Remark);

            return(ObjectMapper.Map <ArticleAuditLog, ArticleAuditLogDto>(result));
        }
Exemple #2
0
 public Task <ArticleAuditLogDto> AuditAsync(Guid id, AuditRequestDto input)
 {
     return(_articleCommonAppService.AuditAsync(id, input));
 }
Exemple #3
0
 public AuditEntriesDto FindAudit(AuditRequestDto request)
 {
     throw new NotImplementedException();
 }