diff --git a/Bootstrap.DataAccess/Menu.cs b/Bootstrap.DataAccess/Menu.cs index 865e3f3d..58970ef7 100644 --- a/Bootstrap.DataAccess/Menu.cs +++ b/Bootstrap.DataAccess/Menu.cs @@ -25,8 +25,8 @@ namespace Bootstrap.DataAccess try { db.BeginTransaction(); - db.Execute($"delete from NavigationRole where NavigationID in @value", new { value }); - db.Delete($"where ID in @value", new { value }); + db.Execute($"delete from NavigationRole where NavigationID in (@value)", new { value }); + db.Delete($"where ID in (@value)", new { value }); db.CompleteTransaction(); ret = true; }