From b3b00aa9e15b9e84bb8073f10b53632d3027ebb7 Mon Sep 17 00:00:00 2001 From: Polianin Nikita Date: Sat, 2 Nov 2024 00:59:37 +0300 Subject: [PATCH] refator: move converter to MapperDto --- .../Common/{Services => MapperDto}/PairPeriodTimeConverter.cs | 2 +- Endpoint/Controllers/V1/ScheduleController.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename Endpoint/Common/{Services => MapperDto}/PairPeriodTimeConverter.cs (93%) diff --git a/Endpoint/Common/Services/PairPeriodTimeConverter.cs b/Endpoint/Common/MapperDto/PairPeriodTimeConverter.cs similarity index 93% rename from Endpoint/Common/Services/PairPeriodTimeConverter.cs rename to Endpoint/Common/MapperDto/PairPeriodTimeConverter.cs index 5a4db03..0f50b43 100644 --- a/Endpoint/Common/Services/PairPeriodTimeConverter.cs +++ b/Endpoint/Common/MapperDto/PairPeriodTimeConverter.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using System.Linq; -namespace Mirea.Api.Endpoint.Common.Services; +namespace Mirea.Api.Endpoint.Common.MapperDto; public static class PairPeriodTimeConverter { diff --git a/Endpoint/Controllers/V1/ScheduleController.cs b/Endpoint/Controllers/V1/ScheduleController.cs index 05931b1..55a7f03 100644 --- a/Endpoint/Controllers/V1/ScheduleController.cs +++ b/Endpoint/Controllers/V1/ScheduleController.cs @@ -8,7 +8,7 @@ using Mirea.Api.Dto.Common; using Mirea.Api.Dto.Requests; using Mirea.Api.Dto.Responses; using Mirea.Api.Endpoint.Common.Attributes; -using Mirea.Api.Endpoint.Common.Services; +using Mirea.Api.Endpoint.Common.MapperDto; using Mirea.Api.Endpoint.Configuration.Model; using System; using System.Collections.Generic;