instance of Costumer class.
now how can i access to this specific Costumer and manage his card or balance or etc?
shall i store all of this person data in a database and whenever i needed him or he got logged in to the service i recreate it's instance using the data i have in database and then use the method of that class?
am i correct?
It's not relevant where you store them, it's an implementation detail
i understand your point. but I'm stuck in the implementation detail. is it the way that i should do it? or it's not gonna work?
Обсуждают сегодня