feat(api): статистика созданных шаблонов в БД ПАРР

This commit is contained in:
Mikhail Trubnikov
2024-09-16 10:04:45 +10:00
parent 3f447e8de6
commit 030c8f3c2f
4 changed files with 61 additions and 17 deletions

View File

@@ -208,6 +208,7 @@
public static class StatTemplate
{
public const string Get = BaseStat + "/templates/";
public const string GetForPeriod = BaseStat + "/templates/period";
}
public static class StatHost

View File

@@ -0,0 +1,9 @@
namespace PARR.API.Contracts.V1.Responses.Statistics
{
public class StatTemplatePeriodResponse
{
public DateOnly Date { get; set; }
public int CreatedTemplatesCount { get; set; }
}
}