migrate PutFunctions to doctrine
fixed bug with pagination order
improve code to Delete functions
improve code to Post functions