public bool close() { if (SessionConfigUtil.ValidRequest()) { IUserConfigManager dao = new UserConfigManager(); return(dao.UpdateConfig(SessionConfigUtil.GetUserId(), "open")); } return(false); }
public UserConfig getStatus() { if (!SessionConfigUtil.ValidRequest()) { return(null); } IUserConfigManager dao = new UserConfigManager(); return(dao.Get(SessionConfigUtil.GetUserId())); }