public IActionResult Post([FromBody] Document document) { if (document == null) { return(BadRequest()); } var message = _documentAppService.ProcessRequest(document); return(Ok(message)); }