Exemplo n.º 1
0
        public async Task <IActionResult> CheckFile()
        {
            var result = await VirusScanner.ScanStream(Request.Body);

            await _sql.AddVirusResult(result.Item1, result.Item2);

            return(Ok(result.Item2.ToString()));
        }