/// <summary> /// 周边配套介绍 保存 /// </summary> public JsonResult buildingaroundSave(tb_buildingaround model) { if (model == null) { return(ResultTool.jsonResult(false, "参数错误!")); } if (!String.IsNullOrEmpty(model.id)) { bool boolResult = dbuildingaround.Update(model); return(ResultTool.jsonResult(boolResult, boolResult ? "成功!" : "更新失败!")); } else { model.id = Guid.NewGuid().ToString("N"); bool boolResult = dbuildingaround.Add(model); return(ResultTool.jsonResult(boolResult, boolResult ? "成功!" : "添加失败!")); } }
/// <summary> /// 操作日志 保存 /// </summary> public JsonResult operationlogSave(tb_operationlog model) { if (model == null) { return(ResultTool.jsonResult(false, "参数错误!")); } if (!String.IsNullOrEmpty(model.id)) { bool boolResult = doperationlog.Update(model); return(ResultTool.jsonResult(boolResult, boolResult ? "成功!" : "更新失败!")); } else { model.id = Guid.NewGuid().ToString("N"); bool boolResult = doperationlog.Add(model); return(ResultTool.jsonResult(boolResult, boolResult ? "成功!" : "添加失败!")); } }
/// <summary> /// 套餐服务内容 保存 /// </summary> public JsonResult comboserviceSave(tb_comboservice model) { if (model == null) { return(ResultTool.jsonResult(false, "参数错误!")); } if (!String.IsNullOrEmpty(model.id)) { bool boolResult = dcomboservice.Update(model); return(ResultTool.jsonResult(boolResult, boolResult ? "成功!" : "更新失败!")); } else { model.id = Guid.NewGuid().ToString("N"); bool boolResult = dcomboservice.Add(model); return(ResultTool.jsonResult(boolResult, boolResult ? "成功!" : "添加失败!")); } }
/// <summary> /// 餐厅环境介绍 删除 /// </summary> public JsonResult restaurantenvironmentDelete(tb_restaurantenvironment model) { bool boolResult = drestaurantenvironment.Delete(model); return(ResultTool.jsonResult(boolResult, boolResult ? "成功!" : "删除失败!")); }
/// <summary> /// 楼层展示图 删除 /// </summary> public JsonResult buildingfaceDelete(tb_buildingface model) { bool boolResult = dbuildingface.Delete(model); return(ResultTool.jsonResult(boolResult, boolResult ? "成功!" : "删除失败!")); }
/// <summary> /// 餐厅展示图 删除 /// </summary> public JsonResult restaurantfaceDelete(tb_restaurantface model) { bool boolResult = drestaurantface.Delete(model); return(ResultTool.jsonResult(boolResult, boolResult ? "成功!" : "删除失败!")); }
/// <summary> /// 各类车型车位数量 删除 /// </summary> public JsonResult pcctvDelete(tb_pcctv model) { bool boolResult = dpcctv.Delete(model); return(ResultTool.jsonResult(boolResult, boolResult ? "成功!" : "删除失败!")); }
/// <summary> /// 车位信息 删除 /// </summary> public JsonResult parkDelete(tb_park model) { bool boolResult = dpark.Delete(model); return(ResultTool.jsonResult(boolResult, boolResult ? "成功!" : "删除失败!")); }
/// <summary> /// 意见反馈 删除 /// </summary> public JsonResult opinionDelete(tb_opinion model) { bool boolResult = dopinion.Delete(model); return(ResultTool.jsonResult(boolResult, boolResult ? "成功!" : "删除失败!")); }
/// <summary> /// 收费标准 删除 /// </summary> public JsonResult copyroomfeeDelete(tb_copyroomfee model) { bool boolResult = dcopyroomfee.Delete(model); return(ResultTool.jsonResult(boolResult, boolResult ? "成功!" : "删除失败!")); }
/// <summary> /// 微博 删除 /// </summary> public JsonResult weibolicenseDelete(tb_weibolicense model) { bool boolResult = dweibolicense.Delete(model); return(ResultTool.jsonResult(boolResult, boolResult ? "成功!" : "删除失败!")); }
/// <summary> /// 套餐服务内容 删除 /// </summary> public JsonResult comboserviceDelete(tb_comboservice model) { bool boolResult = dcomboservice.Delete(model); return(ResultTool.jsonResult(boolResult, boolResult ? "成功!" : "删除失败!")); }
/// <summary> /// App用户登陆Token 删除 /// </summary> public JsonResult appusertokenDelete(tb_appusertoken model) { bool boolResult = dappusertoken.Delete(model); return(ResultTool.jsonResult(boolResult, boolResult ? "成功!" : "删除失败!")); }
/// <summary> /// 首页 推荐内容 删除 /// </summary> public JsonResult featureDelete(tb_feature model) { bool boolResult = dfeature.Delete(model); return(ResultTool.jsonResult(boolResult, boolResult ? "成功!" : "删除失败!")); }
/// <summary> /// 内容管理 删除 /// </summary> public JsonResult documentDelete(tb_document model) { bool boolResult = ddocument.Delete(model); return(ResultTool.jsonResult(boolResult, boolResult ? "成功!" : "删除失败!")); }
/// <summary> /// 操作日志 删除 /// </summary> public JsonResult operationlogDelete(tb_operationlog model) { bool boolResult = doperationlog.Delete(model); return(ResultTool.jsonResult(boolResult, boolResult ? "成功!" : "删除失败!")); }
/// <summary> /// 县 删除 /// </summary> public JsonResult countyDelete(tb_county model) { bool boolResult = dcounty.Delete(model); return(ResultTool.jsonResult(boolResult, boolResult ? "成功!" : "删除失败!")); }
/// <summary> /// 客户表 删除 /// </summary> public JsonResult userDelete(tb_user model) { bool boolResult = duser.Delete(model); return(ResultTool.jsonResult(boolResult, boolResult ? "成功!" : "删除失败!")); }
/// <summary> /// 登陆日志 删除 /// </summary> public JsonResult loginlogDelete(tb_loginlog model) { bool boolResult = dloginlog.Delete(model); return(ResultTool.jsonResult(boolResult, boolResult ? "成功!" : "删除失败!")); }
/// <summary> /// 手机短信验证码 删除 /// </summary> public JsonResult smsDelete(tb_sms model) { bool boolResult = dsms.Delete(model); return(ResultTool.jsonResult(boolResult, boolResult ? "成功!" : "删除失败!")); }
/// <summary> /// 会议室管理 删除 /// </summary> public JsonResult meetingroomDelete(tb_meetingroom model) { bool boolResult = dmeetingroom.Delete(model); return(ResultTool.jsonResult(boolResult, boolResult ? "成功!" : "删除失败!")); }
/// <summary> /// 权限模块关系表 删除 /// </summary> public JsonResult role_moduleDelete(tb_role_module model) { bool boolResult = drole_module.Delete(model); return(ResultTool.jsonResult(boolResult, boolResult ? "成功!" : "删除失败!")); }
/// <summary> /// 基础数据 删除 /// </summary> public JsonResult baseDelete(tb_base model) { bool boolResult = dbase.Delete(model); return(ResultTool.jsonResult(boolResult, boolResult ? "成功!" : "删除失败!")); }
/// <summary> /// 我的收藏 删除 /// </summary> public JsonResult favoriteDelete(tb_favorite model) { bool boolResult = dfavorite.Delete(model); return(ResultTool.jsonResult(boolResult, boolResult ? "成功!" : "删除失败!")); }
/// <summary> /// 房屋展示图 删除 /// </summary> public JsonResult roomfaceDelete(tb_roomface model) { bool boolResult = droomface.Delete(model); return ResultTool.jsonResult(boolResult, boolResult ? "成功!" : "删除失败!"); }
/// <summary> /// 省 删除 /// </summary> public JsonResult provinceDelete(tb_province model) { bool boolResult = dprovince.Delete(model); return(ResultTool.jsonResult(boolResult, boolResult ? "成功!" : "删除失败!")); }