/// <summary> /// 获取字段,首选默认,MyTexts做为value值 /// 谢承忠添加(器具登记页面单位绑定) /// </summary> /// <returns></returns> public static SelectList GetMyName() { ISysPersonBLL compay = new SysPersonBLL(); ValidationErrors ve = new ValidationErrors(); BaseController bc = new BaseController(); Common.Account account = bc.GetCurrentAccount(); return(new SelectList(compay.GetMyName(ref ve, account.UNDERTAKE_LABORATORYName), "MyName", "MyName")); }
public void SaveTheme(string theme) { bool isSuccess = false; if (!string.IsNullOrEmpty(theme)) { Account account = GetCurrentAccount(); SysPersonBLL bll = new SysPersonBLL(); isSuccess = bll.SaveTheme(theme, account.Id); } if (isSuccess) { } }
public SysPersonController(SysPersonBLL bll) { m_BLL = bll; }