One save/update/delete function in baseController for all