How to map to List
I have an employee class like below
public class Employee:EmployeeBaseClass
{
}
which is inheriting from employee Base class below is the definition of employee base class
public class EmployeeBaseClass
{
public employeeAddress Address{Get;set;}
public List employeePhones{get;set;}
}
public class employeeAddress
{
public string street{get;set;}
public string houseNo{get;set;}
}
Public class EmployeePhoneNumbers{
public string phoneType{Get;set;}
public string Number{get;set;}
}
I have same structure on the other end I am not writing it here all properties and class structure are same Now I want to map each class property with other end Like say this is request end and I have same classes on response end so how to map List
Sachin SinghPosted Oct 28, 2021, 10:05 AM