public void Remove(int id) { logger.Info("DELETE Remove: "); try { context.DeleteDeviceNotification(id); } catch (Exception ex) { logger.Error("Error in Remove DeviceNotification " + ex.Message); } }