public IActionResult RequestFile([FromBody] DownloadRequestViewModel param) { if (ModelState.IsValid) { Guid Id = Guid.NewGuid(); _downloadService.DownloadRequest(param, Id); return(Ok(Id)); } else { return(BadRequest(ModelState)); } }