1
0
mirror of synced 2025-02-17 19:09:18 +01:00
GC-local-server-rewrite/Application/DependencyInjection.cs

15 lines
345 B
C#
Raw Normal View History

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