Esempio n. 1
0
 public bool Delete(Countries country)
 {
     try
     {
         CountryDAL countryDAL = new CountryDAL();
         return(countryDAL.Delete(country));
     }
     catch (Exception)
     {
         throw;
     }
 }
Esempio n. 2
0
        public Boolean Delete(SqlInt32 CountryID)
        {
            CountryDAL dalCountry = new CountryDAL();

            if (dalCountry.Delete(CountryID))
            {
                return(true);
            }
            else
            {
                Message = dalCountry.Message;
                return(false);
            }
        }
Esempio n. 3
0
        public void Delete(int id)
        {
            CountryDAL dalObject = new CountryDAL();

            dalObject.Delete(id);
        }
Esempio n. 4
0
 public bool DeleteCountry(Country item)
 {
     return(countryDAL.Delete(item));
 }
Esempio n. 5
0
 static public int Delete(int id)
 {
     return(CountryDAL.Delete(id));
 }