Esempio n. 1
0
        public UnitTestGroupService()
        {
            CreateTestRepositories repoes = new CreateTestRepositories();
            var database = repoes.CreateIoWManager();

            Service = new GroupService(database);
        }
Esempio n. 2
0
        public UnitTestReportService()
        {
            CreateTestRepositories repoes = new CreateTestRepositories();
            var database = repoes.CreateIoWManager();

            report = new ReportService(database);
        }
        public UnitTestGroupServiceWithXmlDispatcher()
        {
            CreateTestRepositories repoes = new CreateTestRepositories();

            database = repoes.CreateIoWManager();
            Service  = new GroupService(database);
        }
Esempio n. 4
0
        public UnitTestVisitorService()
        {
            CreateTestRepositories repoes   = new CreateTestRepositories();
            IUnitOfWork            database = repoes.CreateIoWManager();

            Service = new VisitorService(repoes.CreateIoWManager());
        }
        public UnitTestAnketaService()
        {
            CreateTestRepositories repoes = new CreateTestRepositories();
            var database = repoes.CreateIoWManager();

            _service = new AnketaService(database);
        }
Esempio n. 6
0
        public UnitTestXMLDispacher()
        {
            CreateTestRepositories repoes = new CreateTestRepositories();

            Database = repoes.CreateIoWManager();
            Service  = new XMLDispatcher(Database);
        }
        public UnitTestUserService()
        {
            CreateTestRepositories repoes = new CreateTestRepositories();

            database = repoes.CreateIoWManager();

            service = new UserService(database);
        }
        public UnitTestXmlCreatorService()
        {
            CreateTestRepositories repoes = new CreateTestRepositories();

            repo = repoes.CreateIoWManager();

            _service       = new XmlCreatorPogran(repo);
            _xmlDispatcher = new XMLDispatcher(repo);
        }
Esempio n. 9
0
        public UnitTestDictionaryService()
        {
            CreateTestRepositories creator  = new CreateTestRepositories();
            IUnitOfWork            database = creator.CreateIoWManager();

            serviceNat    = new DictionaryService <NationalityDTO>(database);
            serviceCheck  = new DictionaryService <CheckPointDTO>(database);
            serviceGender = new DictionaryService <GenderDTO>(database);
        }