Really good class, but you should consider increasing vscode font size, it was really hard for me to read on my phone.
@SingletonSean5 жыл бұрын
Laís Godinho Oh no! I didn't think about that. I will have to fix that on all of my future videos. Thank you for the suggestion Laís. Glad you're enjoying.
@user-ux1mj1uz5b3 жыл бұрын
@@SingletonSean, Hi, Is it okay to have a .Checkout() method in the MedaiBase class? Or is that not advisable, or maybe a bad design? I'm asking that because this code seems to look good to me: if (!media.IsCheckedOut) media.Checkout(); Thanks.
@javiopakan23 жыл бұрын
Thank you bro...... one question, can you share the repository?
@hakimbencella4242 Жыл бұрын
Thanks a lot, Is it normal that the gateway depends on the entity ?
@jeppechristensen57074 жыл бұрын
Thank you!
@SingletonSean4 жыл бұрын
No problem Jeppe!
@user-ux1mj1uz5b3 жыл бұрын
Hi @SingletonSean or anyone reading this. Is it okay to have a .Checkout() method in the MedaiBase class? Or is that not advisable, or maybe a bad design? ... I'm asking that because this code seems to look good to me: if (!media.IsCheckedOut) media.Checkout(); Thanks.
@user-ux1mj1uz5b3 жыл бұрын
I would like to add that I can see a problem with having a .Checkout() method in the domain model class. The problem is that a repository needs to be passed to the domain model, which might not be a good thing to do.
@dimarashevskyi57612 жыл бұрын
Model is just a representation of data, repo on the other side is a service to manipulate the data. Wdyt?