예제 #1
0
        public ActionResult Index()
        {
            CompanyListDto info = _companyAppService.GetDefaultCompanyAsync().Result;

            ViewBag.SeoSetting = GetSeoSetting();

            return(View(info));
        }
예제 #2
0
        // GET: Company
        public async Task <ActionResult> Index()
        {
            var companyInfo = await _companyAppService.GetDefaultCompanyAsync();

            var userMenu = GetUserMenu(PageNames.Company).Result;

            ViewBag.UserMenu = userMenu;

            return(View(companyInfo));
        }
예제 #3
0
        public async Task <ActionResult> Index()
        {
            GetBannerInput bannerInput = new GetBannerInput()
            {
                FilterText     = "",
                MaxResultCount = CarFactoryConsts.MaxPageSize,
                SkipCount      = 0,
                Sorting        = "Sort"
            };

            ViewBag.BannerList = await _bannerAppService.GetPagedBannersAsync(bannerInput);

            CompanyListDto info = await _companyAppService.GetDefaultCompanyAsync();

            ViewBag.SeoSetting = GetSeoSetting();
            return(View(info));
        }
예제 #4
0
        public PartialViewResult PartialFooter()
        {
            var company = _companyAppService.GetDefaultCompanyAsync();

            return(PartialView("PartialPages/_PartialFooter", company.Result));
        }