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