Moved InternalServerError to ControllerBase
Move Authorize attribute up in DocumentController
Use ContextUtils in AuthorizationAttribute
Added ERole check to [Authorize] attribute
[Authorize] has ERole.ANNOTATOR as default, ERole can be specified as a parameter
Documents to add expected in base64
Documents sent in the request are all in base64 and have enum to specify either TXT file or a ZIP file
Added default value to Annotation.Note
Check number of documents in DocumentService.GetDocuments
Code cleanup
DocumentService now uses AutoMapper
Added AutoMapper, configured, added DTO mappings
Zobrazit všechny revize | Zobrazit revize
Také k dispozici: Atom