public static void AddUserLog(string Username, string UserType, string OPInfo, Page page) { Maticsoft.Model.SysManage.UserLog model = new Maticsoft.Model.SysManage.UserLog { OPInfo = OPInfo, Url = page.Request.Url.AbsoluteUri, UserIP = page.Request.UserHostAddress, UserName = Username, UserType = UserType }; Maticsoft.BLL.SysManage.UserLog.LogUserAdd(model); }
public static void AddUserLog(string Username, string UserType, string OPInfo) { Maticsoft.Model.SysManage.UserLog model = new Maticsoft.Model.SysManage.UserLog { OPInfo = OPInfo, Url = "", UserIP = "", UserName = Username, UserType = UserType }; Maticsoft.BLL.SysManage.UserLog.LogUserAdd(model); }