file service вынесен в bll. EsppDataController UploadTemplates

This commit is contained in:
Mikhail Trubnikov
2023-08-25 10:25:24 +10:00
parent 49ba6569b1
commit 8a48086f52
13 changed files with 122 additions and 17 deletions

View File

@@ -1,24 +0,0 @@
namespace PARR.API.Settings
{
public class StorageSettings
{
/// <summary>
/// Путь к хранилищу
/// </summary>
public string StoragePath { get; set; } = string.Empty;
/// <summary>
/// Настройки хранилища загрузки шаблонов ЕСПП
/// </summary>
public StorageSettingsEsspTemplates? EsppTemplates { get; set; }
}
public class StorageSettingsEsspTemplates
{
public string[] TemplatePath => new string[] { "espp-templates" };
public string[] AllowedExtensions { get; set; } = Array.Empty<string>();
public int MaxFileSizeMb { get; set; }
}
}