public DataTable GetAll()
 {
     try
     {
         SubscribeDAL subscribeDAL = new SubscribeDAL();
         return(subscribeDAL.GetAll());
     }
     catch (Exception)
     {
         throw;
     }
 }
 public bool Delete(Subscribes subscribe)
 {
     try
     {
         SubscribeDAL subscribeDAL = new SubscribeDAL();
         return(subscribeDAL.Delete(subscribe));
     }
     catch (Exception)
     {
         throw;
     }
 }
        public bool Save(Subscribes subscribe)
        {
            try
            {
                SubscribeDAL subscribeDAL = new SubscribeDAL();

                if (IsEmailExist(subscribe))
                {
                    throw new Exception("Email already exist.");
                }
                else
                {
                    return(subscribeDAL.Save(subscribe));
                }
            }
            catch (Exception)
            {
                throw;
            }
        }