public async Task <ReviewDto> AuditAsync(Guid id, AuditRequedtDto input) { var review = await _repository.GetAsync(id); review.Audit(input.Status, input.Remark); return(ObjectMapper.Map <Review, ReviewDto>(review)); }
public Task <ReviewDto> AuditAsync(Guid id, AuditRequedtDto input) { return(_service.AuditAsync(id, input)); }