public void SaveScanResult(ScanResult scanResult)
        {
            ScanResultDao toSave = new ScanResultDao
            {
                SHA256    = scanResult.SHA256,
                Permalink = scanResult.Permalink,
                Analizado = scanResult.Analizado
            };

            _scanResults.InsertOne(toSave);
        }
        public ScanResult GetScanResult(string sha256)
        {
            ScanResultDao scanResult = _scanResults.Find <ScanResultDao>(sr => sr.SHA256 == sha256).FirstOrDefault();

            if (scanResult != null)
            {
                ScanResult output = new ScanResult
                {
                    SHA256    = scanResult.SHA256,
                    Permalink = scanResult.Permalink,
                    Analizado = scanResult.Analizado
                };
                return(output);
            }
            return(null);
        }