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