public bool UserLoginOperation(string UserID, string LoginRecordId, bool IsLogin) { using (SysUserBLL bll = new SysUserBLL()) { string Ip = System.Web.HttpContext.Current.Request.UserHostAddress.ToString(); return bll.LoginOutConfirm(UserID, LoginRecordId, Ip, IsLogin); } }