I can able to get custom table records from database using service contract but hard to understand the save flow.
di.xml
<preference for="Mobi\Service\Api\RcRepositoryInterface" type="Mobi\Service\Model\RcRepository"/>
<preference for="Mobi\Service\Api\Data\RcInterface" type="Mobi\Service\Model\Rc"/>
can anyone explain the flow with some key codes?