Esempio n. 1
0
        public Task <ResultModel <List <ApplicationInfoListDTO> > > GetListAsync(QueryApplicationInfoFilterRequestModel requestModel)
        {
            var model = _mapper.Map <QueryApplicationInfoFilterModel>(requestModel);
            List <ApplicationInfoListDTO> result = _applicationInfoService.GetList(model);

            return(Task.FromResult(ResultModel <List <ApplicationInfoListDTO> > .Success(result, "查询成功")));
        }
        public async Task <ResultModel <List <ApplicationInfoListDTO> > > GetListAsync(QueryApplicationInfoFilterRequestModel requestModel)
        {
            var resultModel = await SendPostAsync <ResultModel <List <ApplicationInfoListDTO> > >($"{_controllerUrl}GetList", requestModel);

            return(resultModel);
        }