fix: files in their projects
This commit is contained in:
13
InServiceQue.Postgres/InjectionExtension.cs
Normal file
13
InServiceQue.Postgres/InjectionExtension.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using InServiceQue.Core.Repositories;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace InServiceQue.Postgres;
|
||||
|
||||
public static class InjectionExtension
|
||||
{
|
||||
public static IServiceCollection UsePostgres(this IServiceCollection services)
|
||||
{
|
||||
services.AddTransient<ITaskRepository, TaskRepository>();
|
||||
return services;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user