This repository has been archived on 2024-10-24. You can view files and clone it, but cannot push or open issues or pull requests.
NG_2023_Kanban/NG_2023_Kanban.BusinessLayer/Injecting.cs
Stanislav Mykhailenko 7716da6799
Add basic admin panel
2023-05-19 22:38:01 +03:00

16 lines
449 B
C#

using NG_2023_Kanban.BusinessLayer.Services;
using Microsoft.Extensions.DependencyInjection;
namespace NG_2023_Kanban.BusinessLayer.Inject
{
public static class Injecting
{
public static void InjectBLL(
this IServiceCollection services)
{
services.AddAutoMapper(typeof(MappingProfile));
services.AddScoped<BoardService>();
services.AddScoped<UserService>();
}
}
}