Backup/Parking/Controllers/ConsultController.cs
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace 公司自助.Controllers
{
public class ConsultController : Controller
{
//
// GET: /Consult/
DBA.BLL.Consult bll = new DBA.BLL.Consult();
public ActionResult Index()
{
return View();
}
public ActionResult Create(string ID)
{
if (string.IsNullOrEmpty(ID))
{
DBA.Model.Consult model = new DBA.Model.Consult();
return View(model);
}
else
{
return View(bll.GetModel(Convert.ToInt32(ID)));
}
}
public ActionResult RCreate(string ID)
{
if (string.IsNullOrEmpty(ID))
{
DBA.Model.Consult model = new DBA.Model.Consult();
return View(model);
}
else
{
return View(bll.GetModel(Convert.ToInt32(ID)));
}
}
[HttpPost]
public ActionResult Edit(DBA.Model.Consult model)
{
bll.Edit(model);
return RedirectToAction("ConsultManage");
}
[HttpPost]
public JsonResult Del(string ID)
{
return Json(bll.Delete(Convert.ToInt32(ID)));
}
后面还有 17 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
