Refactoring partial for post request