/// <summary> /// Record some scan in the database /// </summary> /// <param name="wallet">The wallet id</param> /// <param name="scanType">The scan type</param> /// <returns></returns> public bool RecordScan(int wallet, ScanTypes scanType) { Scan tempScan = new Scan(); tempScan.Wallet = wallet; tempScan.scanType = scanType; repoLayer.InsertScan(connection, tempScan); return(true); }