I am having a class:
public class Kempe
{
public string Name {get; set;}
public DateTime DateTaken {get; set;}
public decimal Score {get; set;}
}
I would like to use Automapper to map it into:
public class KempeCollector
{
public string Name {get; set;}
public List<KempeList> Collection {get; set;}
}
public class KempeList
{
public DateTime DateTaken {get; set;}
public decimal Score {get; set;}
}
How do I map this? Do I need custom resolver?