public ICalController() { _dataTypeProvider = new DataTypeProvider(Services.DataTypeService); var dataConnection = new DataConnection(); _eventSlotRepository = new EventSlotRepository(dataConnection); }
public ContentEventHandler() { _umbracoHelper = new UmbracoHelper(UmbracoContext.Current); _dataTypeProvider = new DataTypeProvider(_umbracoHelper.DataTypeService); _eventSlotRepository = new EventSlotRepository(new DataConnection()); _logger = ApplicationContext.Current.ProfilingLogger.Logger; }
public EventController() { _dataTypeProvider = new DataTypeProvider(Services.DataTypeService); var dataConnection = new DataConnection(); _eventSlotRepository = new EventSlotRepository(dataConnection); _eventParticipantRepository = new EventParticipantRepository(dataConnection); _memberProvider = new MemberProvider(Services); }