示例#1
0
        public async Task <ActionResult <IEnumerable <CountryDto> > > GetS([FromBody] FilterMaster search)
        {
            var serviceResult = await _destinationService.FilterByOptions(search);

            if (serviceResult.ResponseCode != ResponseCode.Success)
            {
                return(BadRequest(serviceResult.Error));
            }
            return(Ok(serviceResult.Result));
        }