Ejemplo n.º 1
0
 public string IssueCheck(User user, Gate gate, CheckType type)
 {
     MyLogger.Instance().Log("Issue check -- CALLED", "Service", "INFO");
     try
     {
         lock (x)
         {
             //MyLogger.Instance().Log("Issue check -- SUCCESS", "Service", "INFO");
             return(cs.GenerateCheck(user, gate, type));
         }
     }
     catch
     {
         MyLogger.Instance().Log("Issue check -- ERROR", "Service", "FATAL");
         return("Exception cought! Contct your system administrator");
     }
 }