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