public ActionResult SharedWishListTitle(string id) { if (string.IsNullOrEmpty(id)) { return(View("SharedWishListHeaderBlade")); } var param = SharedWishListTokenizer.DecryptToken(id); if (param == null) { return(HttpNotFound()); } var vm = CustomerViewService.GetAccountHeaderViewModelAsync(new GetAccountHeaderViewModelParam { Scope = param.Scope, CultureInfo = ComposerContext.CultureInfo, CustomerId = param.CustomerId }).Result; if (vm == null) { return(HttpNotFound()); } return(View("SharedWishListHeaderContainer", vm)); }
public virtual ActionResult AccountHeader() { var viewModel = CustomerViewService.GetAccountHeaderViewModelAsync(new GetAccountHeaderViewModelParam { Scope = ComposerContext.Scope, CultureInfo = ComposerContext.CultureInfo, CustomerId = ComposerContext.CustomerId }).Result; return(View("AccountHeaderBlade", viewModel)); }