public async Task <IResultModel> Query(EnumQueryModel model) { var result = new QueryResultModel <EnumEntity> { Rows = await _repository.Query(model), Total = model.TotalCount }; return(ResultModel.Success(result)); }
public async Task <IResultModel> Query(EnumQueryModel model) { var result = new QueryResultModel <EnumEntity> { Rows = await _repository.Query(model), Total = model.TotalCount }; return(ResultModel.Success(result)); }