2020-10-24 23:23:22 +02:00
|
|
|
|
using Birdmap.BLL.Interfaces;
|
|
|
|
|
using Birdmap.BLL.Services;
|
|
|
|
|
using Microsoft.Extensions.Configuration;
|
|
|
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
|
|
|
|
|
|
namespace Birdmap.BLL
|
|
|
|
|
{
|
|
|
|
|
public static class Startup
|
|
|
|
|
{
|
|
|
|
|
public static IServiceCollection ConfigureBLL(this IServiceCollection services, IConfiguration configuration)
|
|
|
|
|
{
|
|
|
|
|
services.AddTransient<IAuthService, AuthService>();
|
2020-10-25 16:15:06 +01:00
|
|
|
|
services.AddTransient<IUserService, UserService>();
|
2020-10-24 23:23:22 +02:00
|
|
|
|
|
|
|
|
|
return services;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|