Beispiel #1
0
 private List <Musteri> ListAllMusteri()
 {
     try
     {
         using (var musteriBussines = new MusteriBusiness())
         {
             List <Musteri> musteri = musteriBussines.SelectAllMusteri();
             return(musteri);
         }
     }
     catch (Exception ex)
     {
         LogHelper.Log(LogTarget.File, ExceptionHelper.ExceptionToString(ex), true);
         throw new Exception("Musteri doesn't exists.");
     }
 }