Example #1
0
        public async Task <IActionResult> GetHospitalByCodeAsync([FromBody] encryData data)
        {
            var hospital = await _hospitalService.GetHospitalByCodeAsync(data.HospitalData.code);

            result.returnData = hospital;
            return(Ok(result));
        }