public MessageHandler(Context testContext, InternalApiService internalApiService, NativeApiService nativeApiService, ServiceCollectionService serviceCollectionService)
 {
     this.testContext              = testContext;
     this.internalApiService       = internalApiService;
     this.nativeApiService         = nativeApiService;
     this.serviceCollectionService = serviceCollectionService;
 }
예제 #2
0
 public ApiService GetApiservice(int serviceid)
 {
     using (var sql = new SqlHelper())
     {
         ApiService model = new InternalApiService(sql).GetApiservice(serviceid);
         return(model);
     }
 }
예제 #3
0
 public ApiService GetServiceDistribution(string servicename)
 {
     using (var sql = new SqlHelper())
     {
         ApiService model = new InternalApiService(sql).GetServiceDistribution(servicename);
         return(model);
     }
 }