// GET: HealthInfo/Details/5 public ActionResult <BaseViewModel> DeleteHealthRegister(HealthEveryDeleteViewModel healthInfoDeleteViewModel) { BaseViewModel baseViewModel = new BaseViewModel(); healthService.DeleteHealthEveryRegisterInfo(healthInfoDeleteViewModel); baseViewModel.Message = "删除成功"; baseViewModel.ResponseCode = 200; return(Ok(baseViewModel)); }