Refactoring GetPost