title: Domain vs DTO vs ViewModel - How and When to use them?
body: <p>In a Multi-layer project with Domain layer (DL)/Business (Service) Layer (BL)/Presentation Layer (PL), what is the best approach to deliver Entities to the Presentation Layer?</p>
  
  <pre><code>DO =&gt; Domain Object;
  DTO = Domain Transfer Object;
  VM =&gt; View Model;
  V =&gt; View;
  </code></pre>
  
  <p>Option 1:</p>
  
  <pre><code>DL =&gt; DO =&gt; BL =&gt; DTO =&gt; PL =&gt; VM =&gt; V
  </code></pre>
  
  <p>This option seems to be the Best Practice but also seems heavy to mantain.</p>
  
  <p>Option 2:</p>
  
  <pre><code>DL =&gt; DO =&gt; BL =&gt; DTO =&gt; PL =&gt; V
  </code></pre>
  
  <p>This option seems not very good practice but as DTO are almost identical to the VM, we can pass it directly to the View and it's less painfull to implement and mantain.</p>
  
  <p>Is this option also reliable for multiple layouts, for example, for Mobile Devices I may need less information from the BL, so I will need a diferent VM for this particular Layout?</p>