This is my service file
This is my components ts file
And these are response models
I am having issues with displaying the data I'm fetching through an Observable-based service in my TypeScript file for the component due to its asynchronous nature. From what I've learned, I need to convert my service to a Promise-based structure, but I'm having trouble implementing the responseModel that Observable provides in a Promise-based structure. I would appreciate your help.
These are outputs