public AdminController() { repo = new LocalDbRepository(); repo_data = new VisualDataRepository(ConfigurationManager.AppSettings["dbPath"]); repo_ext = new ExternalRepository(ConfigurationManager.AppSettings["dbPath"]); //Thread.CurrentThread.CurrentCulture. }
public ReportController() { repo_ = new VisualDataRepository(ConfigurationManager.AppSettings["dbPath"]); loger = new Logger(); CultureInfo cult = CultureInfo.CreateSpecificCulture("ru-RU"); cult.NumberFormat.NumberDecimalSeparator = "."; Thread.CurrentThread.CurrentCulture = cult; }
// // GET: /History/ public HistoryController() { repo_ = new VisualDataRepository(ConfigurationManager.AppSettings["dbPath"]); loger = new Logger(); }