refacotr: clean code

This commit is contained in:
2025-02-11 15:36:55 +03:00
parent 3eb043b24c
commit b0d9a67c1c
21 changed files with 21 additions and 21 deletions

View File

@ -16,4 +16,4 @@ public static class CronUpdateSkipConverter
}).ToList();
public static List<ScheduleSettings.CronUpdateSkip> ConvertFromDto(this IEnumerable<Dto.Common.CronUpdateSkip> pairPeriod) =>
pairPeriod.Select(x => x.Get()).ToList();
}
}

View File

@ -11,4 +11,4 @@ public static class PairPeriodTimeConverter
public static Dictionary<int, ScheduleSettings.PairPeriodTime> ConvertFromDto(this IDictionary<int, Dto.Common.PairPeriodTime> pairPeriod) =>
pairPeriod.ToDictionary(kvp => kvp.Key, kvp => new ScheduleSettings.PairPeriodTime(kvp.Value.Start, kvp.Value.End));
}
}

View File

@ -64,4 +64,4 @@ public static class JwtConfiguration
};
});
}
}
}

View File

@ -99,4 +99,4 @@ public static class LoggerConfiguration
};
});
}
}
}

View File

@ -2,4 +2,4 @@
public interface ISaveSettings
{
void SaveSetting();
}
}