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)); }
public Task <ArticleAuditLogDto> AuditAsync(Guid id, AuditRequestDto input) { return(_articleCommonAppService.AuditAsync(id, input)); }
public AuditEntriesDto FindAudit(AuditRequestDto request) { throw new NotImplementedException(); }