13 lines
317 B
C#
13 lines
317 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>();
|
|
}
|
|
} |