SaluAi / src /Core /TelegramSaaS.Application /DependencyInjection.cs
Raghava Pulugu
Deploy app without exposed API tokens
7535af1
Raw
History Blame Contribute Delete
361 Bytes
using Microsoft.Extensions.DependencyInjection;
namespace TelegramSaaS.Application;
public static class DependencyInjection
{
public static IServiceCollection AddApplication(this IServiceCollection services)
{
services.AddMediatR(cfg => cfg.RegisterServicesFromAssembly(typeof(DependencyInjection).Assembly));
return services;
}
}