示例#1
0
 public Action GetByActionId(string actionId)
 {
     // TODO: Prod app would need some error handling like for bad/deleted Id's etc.
     return(_sqlConnection.Get <Action>(actionId));
 }
示例#2
0
 public Project GetByProjectId(string projectId)
 {
     // TODO: Prod app would need some error handling like for bad/deleted Id's etc.
     return(_sqlConnection.Get <Project>(projectId));
 }
示例#3
0
 public CollectedItem Get(int id)
 {
     return(_connection.Get <CollectedItem>(id));
 }
示例#4
0
 public Item Get(int id)
 {
     return(_connection.Get <Item>(id));
 }
示例#5
0
 public ItemOfStuff GetByStuffId(string stuffId)
 {
     // TODO: Prod app would need some error handling like for bad/deleted Id's etc.
     return(_sqlConnection.Get <ItemOfStuff>(stuffId));
 }