コード例 #1
0
 private Sirket SelectSirketByID(int ID)
 {
     try
     {
         using (var SirketBussines = new SirketBusiness())
         {
             return(SirketBussines.SelectSirketById(ID));
         }
     }
     catch (Exception ex)
     {
         LogHelper.Log(LogTarget.File, ExceptionHelper.ExceptionToString(ex), true);
         throw new Exception("Sirket doesn't exists.");
     }
 }