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