Пример #1
0
        public AccountService()
        {
            DBService dsc = DBService.GetSqlInstance();

            gs           = new GlobalServiceMethods();
            stypeService = new StatusTypeService();
            mService     = new MembersService();
            scService    = new SubContractorService();
            mnuService   = new MenuService();
            myconn       = dsc.GetDBConnection();
        }
        public ProjectService()
        {
            DBService dsc = DBService.GetSqlInstance();

            gs = new GlobalServiceMethods();
            pm = new ProjectMembersService();
            ps = new ProjectSubContractorsService();
            pj = new ProjectJobTypesService();
            pr = new ProjectRatesService();

            location      = new LocationService();
            client        = new ClientService();
            sortype       = new SORTypeService();
            subsortype    = new SubSORTypeService();
            team          = new TeamService();
            subcontractor = new SubContractorService();
            statusType    = new StatusTypeService();

            myconn = dsc.GetDBConnection();
        }