public async Task <IActionResult> DeleteDevices(long id) { var result = await locationService.DeleteDevice(id); return(Ok(result)); }