Example #1
0
        /// <summary>
        /// Initialization conctructor.
        /// </summary>
        public SessionsController(IDatabaseConnectionProvider databaseConnectionProvider, ISchedulingBusinessLogicComponent schedulingBusinessLogicComponent)
        {
            // Initialize the database connection provider.
            this.databaseConnectionProvider = databaseConnectionProvider;

            // Initialize the business logic components.
            this.schedulingBusinessLogicComponent = schedulingBusinessLogicComponent;
        }
        /// <summary>
        /// Initialization conctructor.
        /// </summary>
        public CourseSchedulesController(IDatabaseConnectionProvider databaseConnectionProvider, ISchedulingBusinessLogicComponent schedulingBusinessLogicComponent)
        {
            // Initialize the database connection provider.
            this.databaseConnectionProvider = databaseConnectionProvider;

            // Initialize the business logic components.
            this.schedulingBusinessLogicComponent = schedulingBusinessLogicComponent;
        }