1
0
mirror of synced 2024-11-30 17:04:28 +01:00
GC-local-server-rewrite/Application/DependencyInjection.cs

15 lines
345 B
C#

using System.Reflection;
using MediatR;
using Microsoft.Extensions.DependencyInjection;
namespace Application;
public static class DependencyInjection
{
public static IServiceCollection AddApplication(this IServiceCollection services)
{
services.AddMediatR(Assembly.GetExecutingAssembly());
return services;
}
}