예제 #1
0
 public TemplateController(TemplateDal dal, TelemetryClient telClient)
 {
     TemplateDal = dal;
     TelClient   = telClient;
 }
예제 #2
0
 public TemplateController()
 {
     TemplateDal = new TemplateDal();
     TelemetryConfiguration.Active.InstrumentationKey = WebConfigurationManager.AppSettings["InstrumentationKey"];
     TelClient = new TelemetryClient();
 }