//Will only work if all associated cameras have been unclaimed/deleted public bool DeleteLocation(int locationId) { if (_dbQueryService.DeleteRoomsAtLocation(locationId)) { return(_dbQueryService.DeleteLocation(locationId)); } return(false); }