コード例 #1
0
 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 { }
 }
コード例 #2
0
 public AccountController()
 {
     impAccount_Login = new ImpAccount_Login();
     impCms_Account   = new ImpCms_Account();
 }