16 lines
460 B
C#
16 lines
460 B
C#
using PortBlog.API.Repositories;
|
|
using PortBlog.API.Repositories.Contracts;
|
|
|
|
namespace PortBlog.API.Extensions
|
|
{
|
|
public static class ServiceExtensions
|
|
{
|
|
public static IServiceCollection AddRepositories(this IServiceCollection services)
|
|
{
|
|
services.AddScoped<ICandidateRepository, CandidateRepository>();
|
|
services.AddScoped<IResumeRepository, ResumeRepository>();
|
|
return services;
|
|
}
|
|
}
|
|
}
|