public async Task <PagedResultDto <FeedbackDto> > GetManagementListAsync(FeedbackListRequestDto input) { var count = await _repository.GetCountAsync(null, input.Module, input.IsReply, input.CreationAfter, input.CreationBefore, input.Filter); var list = await _repository.GetListAsync(null, input.Module, input.IsReply, input.CreationAfter, input.CreationBefore, input.Filter, input.MaxResultCount, input.SkipCount, input.Sorting); return(new PagedResultDto <FeedbackDto>( count, ObjectMapper.Map <List <Feedback>, List <FeedbackDto> >(list) )); }
public Task <PagedResultDto <FeedbackDto> > GetManagementListAsync(FeedbackListRequestDto input) { return(_service.GetManagementListAsync(input)); }