M Khalid wrote:
Monica Shiralkar wrote:Yes, but is it acceptable coding practice to keep the same name?
No
Is this general consensus or your opinion? If the latter, then you probably shouldn't present it like it's consensus.
M Khalid wrote:"getUserDetails"
I actually find this much more confusing. You basically have two methods that do the same thing but you give them subtly different names? And how would it be confusing in the first place to have the controller and service methods have the same name?