public GetNode ( |
||
node | ||
리턴 |
public static Node Get(int id) { try { Persistance.NodeRepo db = new Persistance.NodeRepo(); return(db.GetNode(id.ToString())); } catch (System.Net.WebException ex) { throw new Exceptions.NodeNotFoundException(ex, id); } }
public static Node Get(int id) { try { Persistance.NodeRepo db = new Persistance.NodeRepo(); return db.GetNode(id.ToString()); } catch (System.Net.WebException ex) { throw new Exceptions.NodeNotFoundException(ex,id); } }
public static Node Get(string location) { Persistance.NodeRepo db = new Persistance.NodeRepo(); return(db.GetNode(new Uri(location))); }
public static Node Get(string location) { Persistance.NodeRepo db = new Persistance.NodeRepo(); return db.GetNode(new Uri(location)); }