All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
- Created Dockerfile for packing up API and Web projects as Docker image
18 lines
648 B
C#
18 lines
648 B
C#
using Microsoft.Extensions.Configuration;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
using YABA.Service.Interfaces;
|
|
|
|
namespace YABA.Service.Configuration
|
|
{
|
|
public static class DependencyInjectionConfiguration
|
|
{
|
|
public static void AddServiceProjectDependencyInjectionConfiguration(this IServiceCollection services, IConfiguration configuration)
|
|
{
|
|
services.AddScoped<IUserService, UserService>();
|
|
services.AddScoped<IBookmarkService, BookmarkService>();
|
|
services.AddScoped<IMiscService, MiscService>();
|
|
services.AddScoped<ITagsService, TagsService>();
|
|
}
|
|
}
|
|
}
|