112. Creating a Data Service
6:41
2 Дынамік
2 Главы
161 Сегменты
Дынамік
Главы
-
0:02Главы 1: We saw how to use that logging service in the last lecture. 301s · Speaker 1
We saw how to use that logging service in the last lecture. Now let me show you another typical use case for a service to store and manage our data. So for example, our accounts. Right now I store them here in the app component and then we …
-
5:04
account service, and make sure to add the import at the top. Now with this in here, I can call account service add account and pass the account name and the account status as this is what this method expects to get as arguments. So with tha…