19 lines
545 B
C#
19 lines
545 B
C#
using Microsoft.Extensions.DependencyInjection;
|
|
using System.Linq;
|
|
using Oqtane.Services;
|
|
using SZUAbsolventenverein.Module.PremiumArea.Services;
|
|
|
|
namespace SZUAbsolventenverein.Module.PremiumArea.Startup
|
|
{
|
|
public class ClientStartup : IClientStartup
|
|
{
|
|
public void ConfigureServices(IServiceCollection services)
|
|
{
|
|
if (!services.Any(s => s.ServiceType == typeof(IPremiumAreaService)))
|
|
{
|
|
services.AddScoped<IPremiumAreaService, PremiumAreaService>();
|
|
}
|
|
}
|
|
}
|
|
}
|