Exemple #1
0
 public string fnGetAccountIsLock(string userCode)
 {
     try
     {
         string userLock    = "";
         string companyCode = _objCurInfo.GetCompanyCode();
         BLUser objBLuser   = new BLUser();
         userLock = objBLuser.GetAccountlock(userCode);
         return(userLock);
     }
     catch (Exception ex)
     {
         Dictionary <string, string> dicContext = new Dictionary <string, string>();
         dicContext.Add("Filter:UserName", userCode);
         DataControl.Impl.ExceptionHandler.WriteLog(ex, dicContext);
         throw new Exception("Sorry an error occurred. Please try again later");
     }
 }