/// <summary> /// /// </summary> /// <param name="inLocation"></param> private void pRemoveDTOLocation(LocationInfo inLocation) { if (inLocation.ID > 0) { _posIntegrationClient.DeleteLocation(pDTOLocationWithID(inLocation.ID)); } }
/// <summary> /// /// </summary> /// <param name="document"></param> /// <exceptions> /// <exception name="PosIntegration client Exception" description="Any Exception coming from PosIntegration client"></exception> /// <exception name="NoCurrentLocationException" description="No current location has been set"></exception> /// </exceptions> /// <returns></returns> public void saveFP() { try { foreach (DTOLocation loc in _removedLocations) { _posIntegrationClient.DeleteLocation(loc); } _locationDeleted = false; saveCurrentLocation(); saveTables(); } catch (Exception) { throw; } }