public RelationTypeDTO GetRelationTypeById(int id) { var relationType = businessManager.GetRelationType(id); RelationTypeDTO relationTypeDTO = new RelationTypeDTO() { id = relationType.IdRelationType, name = relationType.Name }; return(relationTypeDTO); }
public RelationTypeDTO GetRelationTypeById(int id) { RelationTypeDTO relationType = new RelationTypeDTO(businessManager.GetRelationTypeById(id)); return(relationType); }