/// <summary> /// This constructor can be used for Dependency Injection or /// for testing to inject fake repository /// </summary> /// <param name="metricsRepo"></param> public MetericController(IMetericsRepository metricsRepo) { _metricsRepo = metricsRepo; }
public MetericController() { _metricsRepo = new MetericsRepository(); }