public IActionResult DeletePost(int id) { ipost.DeleteFromPostTable(id); ipost.Save(); return(Ok(HttpStatusCode.OK)); }