file service вынесен в bll. EsppDataController UploadTemplates
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user