Refactor API posts to private methods in jobs controller