public IActionResult DeletePosts(int id) { iposts.DeleteFromPostsTable(id); iposts.SavePostsTable(); return(Ok(HttpStatusCode.OK)); }