17 lines
464 B
C#
17 lines
464 B
C#
using Socialize.Modules.Notifications.Contracts;
|
|
using Socialize.Modules.Notifications.Data;
|
|
using Socialize.Modules.Notifications.Services;
|
|
|
|
namespace Socialize.Modules.Notifications;
|
|
|
|
public static class DependencyInjection
|
|
{
|
|
public static WebApplicationBuilder AddNotificationsModule(
|
|
this WebApplicationBuilder builder)
|
|
{
|
|
builder.Services.AddScoped<INotificationEventWriter, NotificationEventWriter>();
|
|
|
|
return builder;
|
|
}
|
|
}
|