Commit 7a454ad4 authored by Garrett Wolf's avatar Garrett Wolf

Capitalized "id" to maintain consistency

parent 809594cf
...@@ -100,7 +100,7 @@ public bool Delete(int id) ...@@ -100,7 +100,7 @@ public bool Delete(int id)
/// <returns></returns> /// <returns></returns>
public T Get(int id) public T Get(int id)
{ {
return database.Query<T>("select * from " + TableName + " where id = @id", new { id }).FirstOrDefault(); return database.Query<T>("select * from " + TableName + " where Id = @id", new { id }).FirstOrDefault();
} }
public T First() public T First()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment