private ButtonViewModel CreatePaginationButton( string category, string type, int page, bool previous ) => _viewModelService.GetTranslatedButton( $"buttons.{(previous ? "previous" : "next")}-page", $"products/{category}/{type}/{page}", new Values { ["page"] = $"{page}" } );
private IEnumerable <ButtonViewModel> CreateProductCardPageActions() => new[] { _viewModelService.GetTranslatedButton("buttons.main-menu", "menu") };