"I have a service. so that i shall use that service to interact my code and the database."
I am struck with this how to begin. I would like you to suggest whether this is possible. If so how to proceed with this?