add movie scraping and documentation
Some checks failed
Build docker container / build (push) Failing after 7m21s

This commit is contained in:
David Claeys
2024-05-17 10:17:15 +02:00
parent a82d7bd861
commit 87e8700236
8 changed files with 203 additions and 14 deletions

View File

@ -1,6 +1,7 @@
using Quartz;
using TelebilbaoEpg.Database.Repository;
using TelebilbaoEpg.Jobs;
using Telebilbap_Epg.Services;
var builder = WebApplication.CreateBuilder(args);
@ -11,6 +12,8 @@ builder.Services.AddControllers();
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen();
builder.Services.AddHttpClient();
builder.Services.AddQuartz();
builder.Services.AddQuartzHostedService(opt =>
{
@ -20,6 +23,7 @@ builder.Services.AddQuartzHostedService(opt =>
builder.Logging.ClearProviders();
builder.Logging.AddConsole();
builder.Services.AddScoped<IMovieService, MovieService>();
builder.Services.AddScoped<IBroadCastRepository, BroadCastRepository>();
var app = builder.Build();