Esempio n. 1
0
        public async Task <IActionResult> ClearData()
        {
            try
            {
                await _meterService.ClearData();

                return(Ok("Data Cleared."));
            }
            catch (Exception e)
            {
                return(BadRequest(e.Message));
            }
        }