ticket-system/source/ticketAPI/api/IServiceCollectionExtensions.cs
Tara Wilson 3a8f2949b2 Adding Event Management
Fixing Bugs
Building out UI
2024-12-02 20:21:55 -05:00

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>();
}
}