mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-30 01:35:32 +00:00
Added generic collections of objects. TODO: deserialization of metadata
This commit is contained in:
@@ -116,7 +116,7 @@ public class APIController : Controller {
|
||||
return UnprocessableEntity(ModelState);
|
||||
|
||||
//// 4. Stage: Is it a Hamann-Document? What kind?
|
||||
var retdocs = _xmlService.ProbeHamannFile(xdocument, ModelState);
|
||||
var retdocs = _xmlService.ProbeFile(xdocument, ModelState);
|
||||
if (!ModelState.IsValid || retdocs == null || !retdocs.Any())
|
||||
return UnprocessableEntity(ModelState);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user