Roadkill.Core.Mvc.ViewModels.RelViewModel.GetRelType C# (CSharp) Méthode

GetRelType() public méthode

Returns the organisation name
public GetRelType ( int relTypeID ) : string
relTypeID int
Résultat string
        public string GetRelType(int relTypeID)
        {

            LightSpeedRepository repository = new LightSpeedRepository(GetAppSettings());

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

            return _reltype.relTypeText;

        }