常用方法
常用方法
常用方法
常用方法
public async Task <ActionResult <IEnumerable <InternetDto> > > GetInternet() { var serviceResult = await _destinationService.FilterInternet(); if (serviceResult.ResponseCode != ResponseCode.Success) { return(BadRequest(serviceResult.Error)); } return(Ok(serviceResult.Result.Select(x => new InternetDto { WifiQuality = x.WifiQuality }).ToList())); }