// GET: api/ScanNumber public int Get() { ScansRepository scansRepository = new ScansRepository(); return scansRepository.GetScansCount(); }