コード例 #1
0
 public Route Search(string primaryKey)
 {
     try
     {
         dbConnection.Open();
         return(_routeRepository.Search(primaryKey));
     }
     catch (System.Exception)
     {
         return(null);
     }
     finally
     {
         dbConnection.Close();
     }
 }