コード例 #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));
 }