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

            return singletonInstance;
        }
        /// <summary>
        /// constructor
        /// </summary>
        public FrmConsultaColaboradorPerfil()
        {
            this.colaboradorBL =  ColaboradorBL.GetInstance();
            this.provinciaBL =  ProvinciaBL.GetInstance();
            this.cantonBL =  CantonBL.GetInstance();
            this.distritoBL =  DistritoBL.GetInstance();
            this.nacionalidadBL =  NacionalidadBL.GetInstance();

            this.sucursalBL =  SucursalBL.GetInstance();
            this.departamentoBL =  DepartamentoBL.GetInstance();
            this.puestoBL =  PuestoBL.GetInstance();
        }
示例#3
0
 /// <summary>
 /// constructor
 /// </summary>
 public ColaboradorBL()
 {
     this.colaboradorDA = new ColaboradorDA();
     this.nacionalidadBL =  NacionalidadBL.GetInstance();
     this.provinciaBL = ProvinciaBL.GetInstance();
     this.cantonBL = CantonBL.GetInstance();
     this.distritoBL = DistritoBL.GetInstance();
     this.centroCostoBL = CentroCostoBL.GetInstance();
     this.departamentoBL = DepartamentoBL.GetInstance();
     this.sucursalBL = SucursalBL.GetInstance();
     this.puestoBL = PuestoBL.GetInstance();
     this.bancoBL = BancoBL.GetInstance();
     this.operadoraBL = OperadoraBL.GetInstance();
 }
        /// <summary>
        /// constructor
        /// </summary>
        public FrmCatalogoColaboradorJefatura()
        {
            this.colaboradorBL =  ColaboradorBL.GetInstance();
            this.provinciaBL =  ProvinciaBL.GetInstance();
            this.cantonBL =  CantonBL.GetInstance();
            this.distritoBL =  DistritoBL.GetInstance();
            this.nacionalidadBL =  NacionalidadBL.GetInstance();

            this.sucursalBL =  SucursalBL.GetInstance();
            this.departamentoBL =  DepartamentoBL.GetInstance();
            this.puestoBL =  PuestoBL.GetInstance();
            this.bancoBL =  BancoBL.GetInstance();
            this.operadoraBL =  OperadoraBL.GetInstance();
        }