Answer the question
In order to leave comments, you need to log in
How can you refactor?
There is such a code in the Angular service.
Here's what's in the .ts file
AND MongoDB
I think it's possible to somehow shorten and improve this, but due to lack of experience I don't know how.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question