2023-06-25 18:36:02 +07:00
|
|
|
|
using BMA.EHR.Application.Repositories.BloodGroup;
|
|
|
|
|
|
using BMA.EHR.Application.Repositories.Prefix;
|
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-05 20:22:51 +07:00
|
|
|
|
{
|
|
|
|
|
|
public static IServiceCollection AddApplication(this IServiceCollection services)
|
|
|
|
|
|
{
|
|
|
|
|
|
services.AddTransient<PrefixRepository>();
|
|
|
|
|
|
services.AddTransient<BloodGroupRepository>();
|
|
|
|
|
|
|
|
|
|
|
|
return services;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|