示例#1
0
        public static RolBL GetInstance()
        {
            if (singletonInstance == null)
                singletonInstance = new RolBL();

            return singletonInstance;
        }
示例#2
0
 /// <summary>
 /// constructor
 /// </summary>
 public UsuarioBL()
 {
     this.usuarioad = new UsuarioAD();
     this.rolad = RolBL.GetInstance();
 }
 /// <summary>
 /// constructor
 /// </summary>
 public FrmSeguridadUsuario()
 {
     this.usuarioBL =  UsuarioBL.GetInstance();
     this.rolBL =  RolBL.GetInstance();
 }
 /// <summary>
 /// constructor
 /// </summary>
 public FrmSeguridadRol()
 {
     this.rolBL =  RolBL.GetInstance();
 }