Beispiel #1
0
        public IActionResult DeleteDevice(string imei)
        {
            var removed = _deviceCache.RemoveDevice(imei);

            if (removed)
            {
                return(Ok("Deleted."));
            }

            return(BadRequest());
        }