Roadkill.Core.Mvc.ViewModels.RelViewModel.GetRelType C# (CSharp) Method

GetRelType() public method

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

            LightSpeedRepository repository = new LightSpeedRepository(GetAppSettings());

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

            return _reltype.relTypeText;

        }