public HomeController() { string connection = ConfigurationManager.ConnectionStrings["dataSource"].ConnectionString; string logPathMVC = ConfigurationManager.AppSettings["LogPathMVC"]; _logDAO = new LogDAO(connection, logPathMVC); _logger = new LoggerMVC(logPathMVC, connection); }
public AccountController() { string connection = ConfigurationManager.ConnectionStrings["dataSource"].ConnectionString; string logPathDAL = ConfigurationManager.AppSettings["LogPathDAL"]; string logPathMVC = ConfigurationManager.AppSettings["LogPathMVC"]; _userDAO = new UserDAO(connection, logPathDAL); _logger = new LoggerMVC(logPathMVC, connection); }
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); }
public ModeratorController() { string connection = ConfigurationManager.ConnectionStrings["dataSource"].ConnectionString; string logPathDAL = ConfigurationManager.AppSettings["LogPathDAL"]; string logPathMVC = ConfigurationManager.AppSettings["LogPathMVC"]; string logPathBLL = ConfigurationManager.AppSettings["LogPathBLL"]; _moderatorDAO = new ModeratorDAO(connection, logPathDAL); _moderatorBLO = new ModeratorBLO(logPathBLL); _logger = new LoggerMVC(logPathMVC, connection); }