Beispiel #1
0
 public bool ValidateUser(string userName, string password)
 {
     log.Debug(MethodHelper.GetCurrentMethodName() + " Method execution start.");
     try
     {
         return(_hrmsService.ValidateUser(userName, password) == "User Verified");
     }
     catch (Exception exception)
     {
         errorLog.Fatal("Exception " + exception.Message + "\n" + exception.StackTrace);
         throw;
     }
     finally
     {
         log.Debug(MethodHelper.GetCurrentMethodName() + " Method execution end.");
     }
 }