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());
     }
 }
Ejemplo n.º 2
0
 public bool Delete(Locations location)
 {
     try
     {
         LocationDAL locationDAL = new LocationDAL();
         return(locationDAL.Delete(location));
     }
     catch (Exception)
     {
         throw;
     }
 }
Ejemplo n.º 3
0
 public bool DeleteLocation(Location item)
 {
     return(LocationDAL.Delete(item));
 }
Ejemplo n.º 4
0
 public int Delete(int location)
 {
     return(locationDal.Delete(location));
 }