public ActionResult Index() { CompanyListDto info = _companyAppService.GetDefaultCompanyAsync().Result; ViewBag.SeoSetting = GetSeoSetting(); return(View(info)); }
// GET: Company public async Task <ActionResult> Index() { var companyInfo = await _companyAppService.GetDefaultCompanyAsync(); var userMenu = GetUserMenu(PageNames.Company).Result; ViewBag.UserMenu = userMenu; return(View(companyInfo)); }
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)); }
public PartialViewResult PartialFooter() { var company = _companyAppService.GetDefaultCompanyAsync(); return(PartialView("PartialPages/_PartialFooter", company.Result)); }