Hi, I'm implementing crud functions for my models, and I'm wondering if it's a good idea for each table to just have one single [edit] function instead of two separate [create] and [update] functions?.
This way I will internally search for the arg (record to be edited), which if absent then it's treated as [create], otherwise (if present) then it's treated as [update]. Is this a good practice?. Thanks, Carlos