internal void AddLogin(string status, string Username) { try { ImpAccount_Login impAccount_Login = new ImpAccount_Login(); Account_Login account_Login = new Account_Login(); account_Login.IP = Common.Common.GetIPHelper(); account_Login.Status = status; account_Login.Username = Username; account_Login.DateLogin = DateTime.Now; impAccount_Login.InsertAccount_Login(account_Login); } catch { } }
public AccountController() { impAccount_Login = new ImpAccount_Login(); impCms_Account = new ImpCms_Account(); }