public MenuViewModel Menu(ViewModelService viewModelService) => viewModelService.GetTranslatedMenuList( "headers.main-menu", ("buttons.categories", "categories"), ("buttons.cart", "cart"), ("buttons.order", "order"), ("buttons.feedback", "feedback") );
public object AcceptPhone() { _chatService.UpdateChatPhone(_chat, _routeValues.GetValue("phone")); _orderService.SaveOrder(_chat); _cartService.ClearCart(_chat); return(_viewModelService.GetTranslatedMenuList( "headers.order-complete", ("headers.main-menu", "menu") )); }
private IBotViewModel CreateEmptyCartMenu() => _viewModelService.GetTranslatedMenuList( "headers.empty-cart", ("buttons.main-menu", "menu") );