Here is my code. Can anyone help me refactor this piece of code. i'm trying to use field name as variable so I wouldn't have to use switch case. Something like from Here is my code. Can anyone help me refactor th
Here is my code. Can anyone help me refactor this piece of code. i'm trying to use field name as variable so I wouldn't have to use switch case. Something like from Here is my code. Can anyone help me refactor th