/// <summary> /// Initializes a new instance of the AlertsLogic class. /// </summary> /// <param name="alertsRepository"> /// The IAlertsRepository implementation that the new instance will use. /// </param> public AlertsLogic(IAlertsRepository alertsRepository) { if (alertsRepository == null) { throw new ArgumentNullException("alertsRepository"); } this.alertsRepository = alertsRepository; }
/// <summary> /// Initializes a new instance of the AlertsLogic class. /// </summary> /// <param name="alertsRepository"> /// The IAlertsRepository implementation that the new instance will use. /// </param> public AlertsLogic(IAlertsRepository alertsRepository) { if (alertsRepository == null) { throw new ArgumentNullException(nameof(alertsRepository)); } _alertsRepository = alertsRepository; }
public GetNewNotificationsExpiringInventory(IAlertsRepository alertsRepository) { _alertsRepository = alertsRepository; }
public AlertController( IAlertsRepository alertsRepository ) { _alertRepository = alertsRepository; }
public GetNewNotificationsShipmentChanged(IAlertsRepository alertsRepository) { _alertsRepository = alertsRepository; }