Пример #1
0
        public Settings GetSettings()
        {
            UnitOfWork uow = new acct.common.Helper.Settings.UnitOfWork();

            var settings2 = new Settings(uow);
            return settings2;
        }
Пример #2
0
        public ActionResult Index()
        {
            List<Option> list = LoadOptions();
            UnitOfWork uow = new acct.common.Helper.Settings.UnitOfWork();

            //Settings settings2 = new Settings(uow);
            //ViewBag.CompanyName = settings2.General.company_name;
            return View(list);
        }