Answers for "c# ef map to dto and update tehn files"

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