diff --git a/Newsbot.Collector.Api/Controllers/v1/SourcesController.cs b/Newsbot.Collector.Api/Controllers/v1/SourcesController.cs index 8bd4b27..5725b0f 100644 --- a/Newsbot.Collector.Api/Controllers/v1/SourcesController.cs +++ b/Newsbot.Collector.Api/Controllers/v1/SourcesController.cs @@ -1,17 +1,14 @@ using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; -using Microsoft.Extensions.Options; -using Newsbot.Collector.Api.Domain; -using Newsbot.Collector.Database.Repositories; +using Newsbot.Collector.Api.Domain.Consts; using Newsbot.Collector.Domain.Consts; using Newsbot.Collector.Domain.Dto; using Newsbot.Collector.Domain.Entities; using Newsbot.Collector.Domain.Interfaces; -using Newsbot.Collector.Domain.Models; using Newsbot.Collector.Services.HtmlParser; -namespace Newsbot.Collector.Api.Controllers; +namespace Newsbot.Collector.Api.Controllers.v1; [ApiController] [Route("api/sources")] diff --git a/Newsbot.Collector.Api/Controllers/v1/YoutubeController.cs b/Newsbot.Collector.Api/Controllers/v1/YoutubeController.cs index 66ea171..1c2c8ec 100644 --- a/Newsbot.Collector.Api/Controllers/v1/YoutubeController.cs +++ b/Newsbot.Collector.Api/Controllers/v1/YoutubeController.cs @@ -3,11 +3,10 @@ using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; -using Newsbot.Collector.Api.Domain; +using Newsbot.Collector.Api.Domain.Consts; using Newsbot.Collector.Domain.Models.Config; using Newsbot.Collector.Domain.Models.Config.Sources; using Newsbot.Collector.Services.Jobs; -using ILogger = Grpc.Core.Logging.ILogger; namespace Newsbot.Collector.Api.Controllers.v1;