constellation-api/CH.Dal/DalModule.cs

14 lines
488 B
C#
Raw Permalink Normal View History

2025-01-02 17:53:38 -05:00
using Microsoft.Extensions.DependencyInjection;
using OpenHarbor.CQRS.DynamicQuery.Abstractions;
using PoweredSoft.Data.Core;
using PoweredSoft.Module.Abstractions;
namespace CH.Dal;
public class DalModule : IModule
{
public IServiceCollection ConfigureServices(IServiceCollection services)
{
return services.AddSingleton<IAsyncQueryableHandlerService, InMemoryQueryableHandlerService>()
.AddTransient(typeof(IQueryableProvider<>), typeof(DefaultQueryableProvider<>));
2025-01-02 17:53:38 -05:00
}
}