Try your search with a different keyword or use * as a wildcard.
@using Nop.Web.Framework.Models.AdminAreaTour
@inject Nop.Services.Stores.IStoreService storeService
@inject Nop.Services.Messages.IEmailAccountService emailAccountService
@inject Nop.Services.Topics.ITopicService topicService
@{
var showTour = ViewBag.ShowTour ?? false;
}
@if (showTour && await workContext.GetCurrentVendorAsync() is null)
{
int? entityId = null;
var tourStep = (TourStep)ViewBag.TourStep;
switch (tourStep)
{
case TourStep.GeneralSettings:
entityId = (await storeService.GetAllStoresAsync()).FirstOrDefault()?.Id ?? 0;
break;
case TourStep.Store:
break;
case TourStep.ShippingProviders:
break;
case TourStep.ShippingManual:
break;
case TourStep.PaymentMethods:
break;
case TourStep.PaymentPayPal:
break;
case TourStep.TaxProviders:
break;
case TourStep.TaxManual:
break;
case TourStep.Product:
break;
case TourStep.EmailAccountList:
entityId = (await emailAccountService.GetAllEmailAccountsAsync()).FirstOrDefault()?.Id ?? 0;
break;
case TourStep.EmailAccount:
break;
case TourStep.TopicList:
entityId = (await topicService.GetTopicBySystemNameAsync("ShippingInfo"))?.Id ?? 0;
break;
case TourStep.Topic:
break;
default:
break;
}
}