using Microsoft.Extensions.DependencyInjection; using zero.Core; using zero.Core.Entities; using zero.Core.Options; using zero.Core.Plugins; using zero.Web.Mapper; using zero.Web.Sections; namespace zero.Web.Defaults { internal class DefaultBackofficePlugin : IZeroPlugin { public void ConfigureServices(IServiceCollection services) { EntityMap.Use(); EntityMap.Use(); EntityMap.Use(); EntityMap.Use(); } public void Configure(IZeroPluginOptions plugin, IZeroOptions zero) { plugin.Name = "zero.Defaults"; plugin.LocalizationPaths.Add("~/Resources/Localization/zero.{lang}.json"); zero.Sections.Add(); zero.Sections.Add(); zero.Sections.Add(); zero.Sections.Add(); zero.Sections.Add(); zero.Settings.AddGroup(); zero.Settings.AddGroup(); zero.Mapper.Add(); zero.Mapper.Add(); zero.Mapper.Add(); zero.Mapper.Add(); zero.Mapper.Add(); zero.Mapper.Add(); zero.Mapper.Add(); } } }