Roadkill.Core.Mvc.ViewModels.RelViewModel.GetRelType C# (CSharp) 메소드

GetRelType() 공개 메소드

Returns the organisation name
public GetRelType ( int relTypeID ) : string
relTypeID int
리턴 string
        public string GetRelType(int relTypeID)
        {

            LightSpeedRepository repository = new LightSpeedRepository(GetAppSettings());

            RelationshipType _reltype;
            _reltype = repository.GetRelTypeByID(relTypeID);

            return _reltype.relTypeText;

        }