# Conflicts: # BMA.EHR.Application/ApplicationServicesRegistration.cs # BMA.EHR.Infrastructure/Migrations/ApplicationDBContextModelSnapshot.cs # BMA.EHR.Infrastructure/Persistence/ApplicationDBContext.cs # BMA.EHR.Solution.sln
19 lines
630 B
C#
19 lines
630 B
C#
using BMA.EHR.Application.Repositories;
|
|
using BMA.EHR.Application.Repositories.MessageQueue;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
namespace BMA.EHR.Application
|
|
{
|
|
public static class ApplicationServicesRegistration
|
|
{
|
|
public static IServiceCollection AddApplication(this IServiceCollection services)
|
|
{
|
|
services.AddTransient<PrefixRepository>();
|
|
services.AddTransient<PlacementRepository>();
|
|
services.AddTransient<OrganizationEmployeeRepository>();
|
|
services.AddTransient<MessageQueueRepository>();
|
|
|
|
return services;
|
|
}
|
|
}
|
|
}
|