fix: get author by id query
This commit is contained in:
parent
83c1a526d3
commit
4e0b269003
@ -223,7 +223,7 @@ namespace Team4
|
||||
using (var command = conn.CreateCommand())
|
||||
{
|
||||
command.CommandText = @"
|
||||
SELECT author.ID
|
||||
SELECT *
|
||||
FROM Authors author
|
||||
WHERE author.ID = @aid;";
|
||||
command.Parameters.AddWithValue("@aid", authorID);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user