fix: files in their projects

This commit is contained in:
2024-03-11 11:57:06 +07:00
parent 6af885a4f8
commit 1acb74f74f
9 changed files with 140 additions and 54 deletions

View 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;
}
}