14 lines
376 B
C#
14 lines
376 B
C#
using api.Interfaces;
|
|
using api.Services;
|
|
|
|
namespace api;
|
|
|
|
public static class ServiceCollectionExtensions
|
|
{
|
|
public static void AddServices(this IServiceCollection services)
|
|
{
|
|
services.AddScoped<IQrCodeGenerator, QrCodeGenerator>();
|
|
services.AddScoped<ITicketManager, TicketManager>();
|
|
services.AddScoped<IEventManager, EventManager>();
|
|
}
|
|
} |