Esempio n. 1
0
 public void TestFixtureSetup()
 {
     var module = new AbpAutoMapperModule(_typeFinder);
     module.PostInitialize();
     _service = new BtsDumpService(_btsRepository.Object, _townRepository.Object);
     _btsRepository.MockOperation();
     _btsRepository.MockGetId<IBtsRepository, CdmaBts>();
     _btsRepository.MockRepositorySaveItems<CdmaBts, IBtsRepository>();
     _townRepository.MockOpertion();
     _townRepository.MockGetId<ITownRepository, Town>();
     _townRepository.MockSixTowns();
 }
Esempio n. 2
0
 public NewBtsExcelsController(BasicImportService service, BtsDumpService dumpService)
 {
     _service = service;
     _dumpService = dumpService;
 }
 public DumpBtsExcelController(BtsDumpService service, BasicImportService importService)
 {
     _service = service;
     _importService = importService;
 }