Generalize GET PUT DELETE POST and PATCH for all entities