112. Creating a Data Service
6:41
2 Głośniki
2 Rozdziały
161 segmenty
Głośniki
Rozdziały
-
0:02
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…