Exemple #1
0
        public BookmarkController()
        {
            string connection = ConfigurationManager.ConnectionStrings["dataSource"].ConnectionString;
            string logPathDAL = ConfigurationManager.AppSettings["LogPathDAL"];
            string logPathMVC = ConfigurationManager.AppSettings["LogPathMVC"];

            _bookmarkDAO = new BookmarkDAO(connection, logPathDAL);
            _reactorDAO  = new ReactorDAO(connection, logPathDAL);
            _logger      = new LoggerMVC(logPathMVC, connection);
        }