/// <summary> /// Constructor for <see cref="NotificationsController"/>. /// </summary> /// <param name="facade">Facade that contains the logic to send notifications.</param> public NotificationsController(INotificationsFacade facade) { if (facade == null) { throw new ArgumentNullException(nameof(facade)); } _facade = facade; }
public NotificationsController(INotificationsFacade notificationsFacade) { _notificationsFacade = notificationsFacade; }