How to permanently delete values from the database
问题 I have a method that i call from a javascript, the method suppose to delete the records permanently but it does not go in to the method if the method has DataContext db = new DataContext(); , it gives the error Internal Server Error public void PermanantlyDeleteComment(GetCommentInput input) { DataContext db = new DataContext(); //Follow by the code to delete the comment } If i comment out DataContext db = new DataContext(); the breakpoint does go in. I think the problem is with the