private bool UpdateYonetici(int id, string ad, string soyad, int yas, string parola, double kimlikno, int maas, byte ehliyet, bool yoneticimi, int sirketid)
 {
     try
     {
         using (var YoneticiBussines = new YoneticiBusiness())
         {
             return(YoneticiBussines.UpdateYonetici(new Yonetici()
             {
                 KullaniciID = id,
                 Ad = ad,
                 Soyad = soyad,
                 Yas = yas,
                 Parola = parola,
                 KimlikNo = kimlikno,
                 Maas = maas,
                 Ehliyet = ehliyet,
                 YoneticiMi = yoneticimi,
                 SirketID = sirketid
             }));
         }
     }
     catch (Exception ex)
     {
         LogHelper.Log(LogTarget.File, ExceptionHelper.ExceptionToString(ex), true);
         throw new Exception("Yonetici doesn't exists.");
     }
 }