#4303: add search function.
This commit is contained in:
24
Oqtane.Server/Modules/SearchResults/Startup/ServerStartup.cs
Normal file
24
Oqtane.Server/Modules/SearchResults/Startup/ServerStartup.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
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>();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user