예제 #1
0
 public void TestFixtureSetup()
 {
     _service = new ENodebDumpService(_eNodebRepository.Object, _townRepository.Object);
     _eNodebRepository.MockOperations();
     _eNodebRepository.MockRepositorySaveItems <ENodeb, IENodebRepository>();
     _townRepository.MockOpertion();
     _townRepository.MockSixTowns();
     ParametersDumpMapperService.MapFromENodebContainerService();
     CoreMapperService.MapCell();
 }
예제 #2
0
        public void TestFixtureSetup()
        {
            var module = new AbpAutoMapperModule(_typeFinder);

            module.PostInitialize();
            _service = new ENodebDumpService(_eNodebRepository.Object, _townRepository.Object);
            _eNodebRepository.MockOperations();
            _eNodebRepository.MockGetId <IENodebRepository, ENodeb>();
            _eNodebRepository.MockRepositorySaveItems <ENodeb, IENodebRepository>();
            _townRepository.MockGetId <ITownRepository, Town>();
            _townRepository.MockSixTowns();
        }
예제 #3
0
 public void TestFixtureSetup()
 {
     var module = new AbpAutoMapperModule(_typeFinder);
     module.PostInitialize();
     _service = new ENodebDumpService(_eNodebRepository.Object, _townRepository.Object);
     _eNodebRepository.MockOperations();
     _eNodebRepository.MockGetId<IENodebRepository, ENodeb>();
     _eNodebRepository.MockRepositorySaveItems<ENodeb, IENodebRepository>();
     _townRepository.MockGetId<ITownRepository, Town>();
     _townRepository.MockOpertion();
     _townRepository.MockSixTowns();
 }
예제 #4
0
 public NewENodebExcelsController(BasicImportService service, ENodebDumpService dumpService)
 {
     _service = service;
     _dumpService = dumpService;
 }
 public DumpENodebExcelController(ENodebDumpService service, BasicImportService importService)
 {
     _service = service;
     _importService = importService;
 }