13
when using domain driven design, is it better that your services' methods receive an entity as parameter or the id of your entity as parameter so that you can retrieve the entity inside the method using a repository?
for example:
public void Apply(Job job, User user)
versus
public void Apply(int jobId, int userId)