public static bool Delete(int locationToSave) { if (locationToSave > 0) { return(LocationDAL.Delete(locationToSave)); } else { throw new BLLException("Delete failed. Location ID is Invalid: " + locationToSave.ToString()); } }
public bool Delete(Locations location) { try { LocationDAL locationDAL = new LocationDAL(); return(locationDAL.Delete(location)); } catch (Exception) { throw; } }
public bool DeleteLocation(Location item) { return(LocationDAL.Delete(item)); }
public int Delete(int location) { return(locationDal.Delete(location)); }