Added Random Method in API Controllers