protected virtual void SetHomepageUrl(CartViewModel cartViewModel, BaseUrlParameter getUrlParam) { if (cartViewModel != null) { var homepageUrl = CartUrlProvider.GetHomepageUrl(getUrlParam); cartViewModel.HomepageUrl = homepageUrl; } }
protected virtual string GetHomepageUrl() { var homepageUrl = CartUrlProvider.GetHomepageUrl(new BaseUrlParameter { CultureInfo = ComposerContext.CultureInfo }); return(homepageUrl); }
protected virtual CartViewModel GetCartViewModel() { var cartViewModel = new CartViewModel { IsLoading = true, HomepageUrl = CartUrlProvider.GetHomepageUrl(new BaseUrlParameter { CultureInfo = ComposerContext.CultureInfo }) }; return(cartViewModel); }