using Fluid;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.DependencyInjection;
using OrchardCore.Modules;

namespace OrchardCore.Cms.MarkdownImport
{
	public class Startup : StartupBase
	{
		public override void ConfigureServices(IServiceCollection services)
		{
		}

		public override void Configure(IApplicationBuilder builder, IEndpointRouteBuilder routes, IServiceProvider serviceProvider)
		{
			routes.MapAreaControllerRoute(
				name: "Home",
				areaName: "OrchardCore.Cms.MarkdownImport",
				pattern: "Home/Index",
				defaults: new { controller = "Home", action = "Index" }
			);
		}
	}
}
