- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
public ActionResult EditorValueChange(string value, string editor)
{
switch (editor)
{
case "LastName": Session["LastName"] = value; break;
case "FirstName": Session["FirstName"] = value; break;
case "MiddleName": Session["MiddleName"] = value; break;
case "PhoneMobil": Session["PhoneMobil"] = value; break;
case "PhoneHome": Session["PhoneHome"] = value; break;
case "Birthday": Session["Birthday"] = value; break;
case "HeadOfGroupId": Session["HeadOfGroupId"] = value; break;
}
return Json(true);
}
Может еще "default: Session[editor] = value; break;" добавить?)
Комментарии (0) RSS
Добавить комментарий