mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-30 01:35:32 +00:00
Creaded Upload Interface; Also added Wrapper around HaDocument to reload the Document
This commit is contained in:
@@ -87,6 +87,13 @@ public class XMLService : IXMLService {
|
||||
AutoDetermineUsed(prefix);
|
||||
}
|
||||
|
||||
public List<XMLRootDocument>? GetAvailableFiles(string prefix) {
|
||||
if (_Roots == null || _availableFiles == null) return null;
|
||||
if(!_Roots.ContainsKey(prefix) || !_availableFiles.ContainsKey(prefix)) return null;
|
||||
|
||||
return _availableFiles[prefix];
|
||||
}
|
||||
|
||||
public async Task UpdateAvailableFiles(XMLRootDocument doc, string basefilepath, ModelStateDictionary ModelState) {
|
||||
await _setEnabled();
|
||||
if (!UploadEnabled) {
|
||||
|
||||
Reference in New Issue
Block a user