public async Task Handle()
        {
            Console.WriteLine("Retrieving...\n");
            var waterMeters = await _waterMeterBusiness.All();

            if (waterMeters != null && waterMeters.Any())
            {
                Console.WriteLine("{0,-10}\t{1,-20}\t{2,-20}\t{3,-20}", "Id", "Serial number", "Firmware version", "State");
                foreach (var device in waterMeters)
                {
                    Console.WriteLine("{0,-10}\t{1,-20}\t{2,-20}\t{3,-20}", device.Id, device.SerialNumber, device.FirmwareVersion, device.State);
                }
            }
            else
            {
                Console.WriteLine("No water meters are registered");
            }
            Console.Write("\n> ");
        }
        public async Task <IActionResult> RegisterWaterMeter()
        {
            ViewBag.WaterMeters = await _waterMeterBusiness.All();

            return(View());
        }