asd
This commit is contained in:
parent
05e69af98d
commit
2af45433fa
@ -54,7 +54,7 @@ public class PostRepositories : IPostRepositories
|
||||
LevelPost=@LevelPost,
|
||||
Wage=@Wage
|
||||
WHERE Id=@id";
|
||||
connection.Execute(queryUpdate, post);
|
||||
connection.Execute(queryUpdate, new { id = post.Id, NamePost = post.NamePost.ToString(), post.LevelPost, post.Wage });
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user