Ejemplo n.º 1
0
        public AdminController()
        {
            repo      = new LocalDbRepository();
            repo_data = new VisualDataRepository(ConfigurationManager.AppSettings["dbPath"]);
            repo_ext  = new ExternalRepository(ConfigurationManager.AppSettings["dbPath"]);

            //Thread.CurrentThread.CurrentCulture.
        }
Ejemplo n.º 2
0
        public ReportController()
        {
            repo_ = new VisualDataRepository(ConfigurationManager.AppSettings["dbPath"]);
            loger = new Logger();
            CultureInfo cult = CultureInfo.CreateSpecificCulture("ru-RU");

            cult.NumberFormat.NumberDecimalSeparator = ".";
            Thread.CurrentThread.CurrentCulture      = cult;
        }
Ejemplo n.º 3
0
        //
        // GET: /History/

        public HistoryController()
        {
            repo_ = new VisualDataRepository(ConfigurationManager.AppSettings["dbPath"]);
            loger = new Logger();
        }