Answers for "map dto to entity c#"

C#
0

dto and automapper

public TeamDTO GetByID(int id)
{
    var team = ... //Get Team entity from data store
    return Mapper.Map<TeamDTO>(team);
}
Posted by: Guest on June-30-2020

C# Answers by Framework

Browse Popular Code Answers by Language