Exemplo n.º 1
0
 public SigmaResultType GetLicense()
 {
     SigmaResultType result = new SigmaResultType();
     try
     {
         AuthMgr authMgr = new AuthMgr();
         result = authMgr.GetLicense();
         return result;
     }
     catch (Exception ex)
     {
         // Log Exception
         ExceptionHelper.logException(ex);
         result.IsSuccessful = false;
         result.ErrorMessage = ex.Message;
         return result;
     }
 }
Exemplo n.º 2
0
 public SigmaResultType ListScreenBySigmaUserId(string sigmaUserId)
 {
     SigmaResultType result = new SigmaResultType();
     try
     {
         AuthMgr authMgr = new AuthMgr();
         result = authMgr.ListScreensBySigmaUserId(sigmaUserId);
         return result;
     }
     catch (Exception ex)
     {
         // Log Exception
         ExceptionHelper.logException(ex);
         result.IsSuccessful = false;
         result.ErrorMessage = ex.Message;
         return result;
     }
 }
Exemplo n.º 3
0
 public SigmaResultType Login(string userId, string passwd)
 {
     SigmaResultType result = new SigmaResultType();
     AuthMgr authMgr = new AuthMgr();
     try
     {
         result = authMgr.Login(userId, passwd);
         return result;
     }
     catch (Exception ex)
     {
         // Log Exception
         ExceptionHelper.logException(ex);
         result.IsSuccessful = false;
         result.ErrorMessage = ex.Message;
         return result;
     }
 }