title: Error: Cannot convert from 'method group' to string
body: <p>Getting error which says Cannot convert from 'method group' to 'string'. Error is in the function <code>MapEventsAndTypes</code>. Here is the error: <code>options =&gt; options.MapFrom(MapEventsAndTypes));</code></p>
  <pre><code>public class AutoMapperProfiles : Profile
      {
          public AutoMapperProfiles()
          {
              CreateMap&lt;EventTypeDTO, EventType&gt;().ReverseMap();
              CreateMap&lt;EventCreationDTO, Event&gt;()
                  .ForMember(x =&gt; x.Poster, options =&gt; options.Ignore())
                  .ForMember(x =&gt; x.EventAndEventTypes, options =&gt; options.MapFrom(MapEventsAndTypes)); 
                    ////////error at 'MapEventsAndTypes'
             
              CreateMap&lt;SportTypeDTO, SportType&gt;().ReverseMap();
  
          }
  
          private List&lt;EventAndEventType&gt; MapEventsAndTypes(EventCreationDTO eventCreationDTO, Event events)
          {
  
              var result = new List&lt;EventAndEventType&gt;();
              if (eventCreationDTO.TypeIds == null)
              {
                  return result;
              }
              foreach( var id in eventCreationDTO.TypeIds)
              {
                  result.Add(new EventAndEventType() { EventTypeId = id });
              }
              return result;
          }
  
      }
  }
  </code></pre>
  <p>class with propery EventAndEventTypes
  exact error: Argument 1: cannot convert from 'method group' to 'string'</p>
  <pre><code>namespace EventsAndTicketsAPI.Entities
  {
      public class Event
      {
          public int Id { get; set; }
          [StringLength(maximumLength: 75)]
          [Required]
          public string Name { get; set; }
          public int TicketPrice { get; set; }
          public string Description { get; set; }
          public string City { get; set; }
          public DateTime Date { get; set; }
          public string Poster { get; set; }
          public List&lt;EventAndEventType&gt; EventAndEventTypes { get; set; } 
  
      }
  }
  </code></pre>
  <p>class EventAndEventType</p>
  <pre><code>public class EventAndEventType
  {
      public int EventId { get; set; }
      public int EventTypeId { get; set; }
      public Event Event { get; set; }
      public EventType EventType { get; set; }
  }
  </code></pre>
  <p>}</p>
  <p>class EventCreationDTO</p>
  <pre><code>public class EventCreationDTO
  {
      public string Name { get; set; }
      public int TicketPrice { get; set; }
      public string Description { get; set; }
      public string City { get; set; }
      public DateTime Date { get; set; }
      public IFormFile Poster { get; set; }
      [ModelBinder(BinderType=typeof(TypeBinder&lt;List&lt;int&gt;&gt;))]
      public List&lt;int&gt; TypeIds { get; set; }
  </code></pre>