예제 #1
0
 public TestMasterApiController(IUnitOfWork iunit, ITestMasterService iTestMasterService,
                                IPartMasterService iPartMasterService, ILocationMasterService iLocationMasterService, ITestMasterMappingService itestMasterMappingService, ICacheService cache)
 {
     this.itestMasterMappingService = itestMasterMappingService;
     this.iLocationMasterService    = iLocationMasterService;
     this.iPartMasterService        = iPartMasterService;
     this.iTestMasterService        = iTestMasterService;
     this.cache = cache;
 }
예제 #2
0
 public TestMasterController(ITestMasterService testMasterService, IUnitOfWork iunit, ITestService testService,
                             IPartMasterService partMasterService, ILocationMasterService locationMasterService,
                             ITestMasterMappingService testMasterMappingService)
 {
     this.locationMasterService    = locationMasterService;
     this.partMasterService        = partMasterService;
     this.testMasterService        = testMasterService;
     this.iUnitOfWork              = iunit;
     this.testService              = testService;
     this.testMasterMappingService = testMasterMappingService;
 }
예제 #3
0
 /// <summary>
 /// to get all parts
 /// </summary>
 /// <param name="partMasterService"></param>
 /// <param name="iunit"></param>
 public GetAllTests(IPartMasterService partMasterService, IUnitOfWork iunit)
 {
     this.partMasterService = partMasterService;
     this.iUnitOfWork       = iunit;
 }