2023-06-26 14:02:04 +07:00
|
|
|
|
using BMA.EHR.Application.Repositories;
|
2023-07-13 15:03:29 +07:00
|
|
|
|
using BMA.EHR.Application.Repositories.Commands;
|
2023-07-12 21:08:46 +07:00
|
|
|
|
using BMA.EHR.Application.Repositories.MessageQueue;
|
2023-06-05 20:22:51 +07:00
|
|
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
|
|
|
|
|
|
|
|
namespace BMA.EHR.Application
|
|
|
|
|
|
{
|
2023-06-25 18:36:02 +07:00
|
|
|
|
public static class ApplicationServicesRegistration
|
2023-06-26 14:02:04 +07:00
|
|
|
|
{
|
|
|
|
|
|
public static IServiceCollection AddApplication(this IServiceCollection services)
|
|
|
|
|
|
{
|
|
|
|
|
|
services.AddTransient<PrefixRepository>();
|
2023-06-29 21:04:49 +07:00
|
|
|
|
services.AddTransient<PlacementRepository>();
|
2023-07-13 09:01:47 +07:00
|
|
|
|
services.AddTransient<OrganizationEmployeeRepository>();
|
2023-07-12 21:08:46 +07:00
|
|
|
|
services.AddTransient<MessageQueueRepository>();
|
2023-07-13 15:03:29 +07:00
|
|
|
|
services.AddTransient<PlacementCommandRepository>();
|
2023-07-19 10:25:54 +07:00
|
|
|
|
// services.AddTransient<InsigniaPeriodsRepository>();
|
2023-06-05 20:22:51 +07:00
|
|
|
|
|
2023-06-26 14:02:04 +07:00
|
|
|
|
return services;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2023-06-05 20:22:51 +07:00
|
|
|
|
}
|