Hi Shubham,
In a typical scenario, you would want the local storage to be a copy of the server storage. You seem to want to store data locally only when there's no server available. The functional downside to this is that the user can't do anything if there's no connection, as there's no data available to display etc.
So what I'd advise you to do is to have all data that's apllicable in the local storage Entity, and sync that with the backend (server). Also, when loading the Screen, load from local storage - it's always way faster than via internet.