This commit is contained in:
Pipiaka 2024-12-23 07:34:02 +04:00
parent 05e69af98d
commit 2af45433fa

View File

@ -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)
{