/// <summary> /// Constructor, for unit test /// </summary> /// <param name="thermometerModel"></param> /// <param name="repo"></param> public ThresholdModel(ThermometerModel thermometerModel, IThresholdRepository repo) { _thermometerModel = thermometerModel; _thresholdRepository = repo; }
/// <summary> /// Constructors /// </summary> /// <param name="thermometerModel"></param> public ThresholdModel(ThermometerModel thermometerModel) : this(thermometerModel, null) { }