コード例 #1
0
 public AppUser Login(string username, string password)
 {
     try
     {
         AppUser retVal = manager.Login(username, password);
         log.LogMessage(LOG_TYPE.INFO, "Login User executed succesfuly.");
         return(retVal);
     }
     catch
     {
         log.LogMessage(LOG_TYPE.ERROR, "Login User executed unsuccesfuly.");
         return(null);
     }
 }