Adds action for entity create and update operation.