// blog

Crud - Part III

In the last part of this tutorial we finished all the functionalities of our smart contract. Unfortunately, we have a lot of code duplication in the update and delete function. We use the same for-loop to find a specific entry of our users array. In this video, we will extract this common functionality into its own function. You will learn how to call a function from another function in Solidity.

CRUD smart contract with a find function in Remix, from the video tutorial