title: Automapper causing error: missing type map configuration or unsupported mapping
body: <p>I am new to Automapper.</p>
  
  <p>I have added Nuget package - Automapper into my Manager (BLL) and DAL layer.</p>
  
  <p>Now, below is related stuff:</p>
  
  <p>Below is the statment of Manager library that giving me exception:</p>
  
  <pre><code>this.dataRepository.Update(Mapper.Map&lt;StudentMaster&gt;(studentDTO));
  </code></pre>
  
  <p>Exception is as follow:</p>
  
  <blockquote>
    <p>Missing type map configuration or unsupported mapping.</p>
    
    <p>Mapping types:<br>
    studentDTO -> StudentMaster<br>
    Admin.App.DTO.studentDTO-> Admin.App.DAL.StudentMaster</p>
  </blockquote>
  
  <p>In case of select/where query on EF, it is working and able to map using </p>
  
  <pre><code>.Project().To&lt;TReturn&gt;()
  </code></pre>
  
  <p>I wrote an <code>Autoconfiguration.cs</code> file as follows:</p>
  
  <pre><code>public static class AutoMapperConfiguration
  {
      public static void Configure()
      {
          ConfigureStudentMasterMaps();
      }
  
      private static void ConfigureStudentMasterMaps()
      {
          Mapper.CreateMap&lt;StudentMaster, studentDTO&gt;();                  
      }
  }
  </code></pre>
  
  <p>Note:</p>
  
  <p>Both the entity - <code>StudentMaster</code> (model) entity and <code>StudentDTO</code> have the same properties.</p>
  
  <p>Please guide me how I could resolve this issue.</p>
  
  <p>Thank You</p>