Ejemplo n.º 1
0
        public async Task <IActionResult> GetHospitalListAsync([FromBody] encryData data)
        {
            var paramers = data.data;

            (var hospitalList, var count) = await _hospitalService.GetHospitalListAsync(paramers.page, paramers.rows, paramers.hospitalAndCodeOrName, paramers.hospitalLevel);

            result.returnData = hospitalList;
            result.countSum   = count;
            return(Ok(result));
        }