public EventsController(INewsManagementServices newsManagementServices, IEventManagementServices eventsManagementServices) { if (newsManagementServices == null) throw new ArgumentNullException("newsManagementServices"); if (eventsManagementServices == null) throw new ArgumentNullException("eventsManagementServices"); this._newsManagementServices = newsManagementServices; this._eventsManagementServices = eventsManagementServices; }
public NewsController(INewsManagementServices newsManagementServices, IEventManagementServices eventsManagementServices) { if (newsManagementServices == null) { throw new ArgumentNullException("newsManagementServices"); } if (eventsManagementServices == null) { throw new ArgumentNullException("eventsManagementServices"); } this._newsManagementServices = newsManagementServices; this._eventsManagementServices = eventsManagementServices; }