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

            result.success   = success;
            result.returnMsg = success ? "删除医院成功!" : "删除医院失败!";
            return(Ok(result));
        }