feat(api): Вынес логику формирования расписания в сервис IEsppSchTypeConfigService. В респонс шаблона добавил отображение расписания. Получение шаблона по ИД.

This commit is contained in:
Mikhail Trubnikov
2023-10-12 12:06:47 +10:00
parent c2c381896b
commit b177c0cc27
10 changed files with 186 additions and 88 deletions

View File

@@ -55,7 +55,7 @@
public static class Template
{
public const string GetAll = Base + "/templates/";
//public const string Get = Base + "/templates/" + getParam;
public const string Get = Base + "/templates/" + getParam;
//public const string SetOkStatus = Base + "/templates/" + getParam + "/status/ok";
//public const string GetByStatusCode = Base + "/templates/status/{statusCode}";
@@ -63,7 +63,7 @@
public const string getParam = "{id}";
}
public static class TemplateScheduleEspp
public static class TemplateScheduleEspp
{
public const string Get = Base + "/templates/" + templateId + "/schedule-esppid";