public bool Delete(Countries country) { try { CountryDAL countryDAL = new CountryDAL(); return(countryDAL.Delete(country)); } catch (Exception) { throw; } }
public Boolean Delete(SqlInt32 CountryID) { CountryDAL dalCountry = new CountryDAL(); if (dalCountry.Delete(CountryID)) { return(true); } else { Message = dalCountry.Message; return(false); } }
public void Delete(int id) { CountryDAL dalObject = new CountryDAL(); dalObject.Delete(id); }
public bool DeleteCountry(Country item) { return(countryDAL.Delete(item)); }
static public int Delete(int id) { return(CountryDAL.Delete(id)); }