25 lines
660 B
C#
25 lines
660 B
C#
using Microsoft.AspNetCore.Builder;
|
|
using Microsoft.AspNetCore.Hosting;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
using Oqtane.Infrastructure;
|
|
using Oqtane.Modules.SearchResults.Services;
|
|
|
|
namespace Oqtane.Modules.SearchResults.Startup
|
|
{
|
|
public class ServerStartup : IServerStartup
|
|
{
|
|
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
|
|
{
|
|
}
|
|
|
|
public void ConfigureMvc(IMvcBuilder mvcBuilder)
|
|
{
|
|
}
|
|
|
|
public void ConfigureServices(IServiceCollection services)
|
|
{
|
|
services.AddTransient<ISearchResultsService, ServerSearchResultsService>();
|
|
}
|
|
}
|
|
}
|