Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Dupa {
- public async getCars(): Cars {
- try {
- lett cars = this.carsRepository.getCars();
- cars.forEach((car) => {
- let sth = this.someRepository.updateSomethingByCar(car);
- console.log(sth);
- })
- } catch (err) {
- console.log(err);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement