Ejemplo n.º 1
0
        public async Task <IActionResult> DeleteBeacon(DeleteBeaconDTO input)
        {
            try
            {
                await _beaconService.DeleteBeacon(input);

                return(Ok());
            }
            catch (Exception)
            {
                return(BadRequest());
            }
        }
Ejemplo n.º 2
0
 public async Task DeleteBeacon(DeleteBeaconDTO input)
 {
     await _beaconRepository.Delete(input.Id);
 }