From 22e9638f88dc9043ab51d35df71c8a853d2a5aa4 Mon Sep 17 00:00:00 2001 From: James Tombleson Date: Sun, 6 Aug 2023 13:33:45 -0700 Subject: [PATCH] namespace updated and using --- Newsbot.Collector.Api/Controllers/v1/SourcesController.cs | 7 ++----- Newsbot.Collector.Api/Controllers/v1/YoutubeController.cs | 3 +-- 2 files changed, 3 insertions(+), 7 deletions(-) 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;