public bool AddYazar(string yazaradi)
        {
            Yazar member = new Yazar();


            member.YazarAdi = yazaradi;



            bool result = false;

            try
            {
                HaberDBEntities1 db = new HaberDBEntities1();
                db.Yazar.Add(member);
                db.SaveChanges();


                result = true;
            }
            catch (Exception)
            {
                return(result);
            }

            return(result);
        }
        public DataSet YazarArama(string kullaniciadi)
        {
            Yazar member = new Yazar();

            string query = String.Format("SELECT YazarID FROM Yazar WHERE KullaniciAdi Like '%" + kullaniciadi + "%'");

            return(ExecuteQuery(query));
        }