Exemplo n.º 1
0
 public POS_USER GetById(long?id)
 {
     try
     {
         _objUserEntity = _objDALUser.GetById(id);
         return(_objUserEntity);
     }
     catch (Exception ex)
     {
         if (ex is DALException)
         {
             throw ex;
         }
         else
         {
             ExceptionLogger.WriteExceptionInDB(ex, ExceptionLevel.DAL, ExceptionType.Error);
         }
         throw new BALException("User Info not completed error occurred in Business Layer");
     }
 }