public static ToDto ( Blog.DataAccess.Database.Entities.Objects educationType ) : EducationType | ||
educationType | Blog.DataAccess.Database.Entities.Objects | |
리턴 | EducationType |
public static EducationType ToDto(Db.EducationType educationType)
{
return educationType == null ? null :
new EducationType
{
EducationTypeId = educationType.EducationTypeId,
EducationTypeName = educationType.EducationTypeName
};
}