/// <summary> /// Gets the list of PropertyTypes for a dropdown /// </summary> /// <returns></returns> public static List<SelectListItem> GetPropertyTypes(string selectedPropertyType = "") { // Get the property types PropertyTypeServiceModel propertyTypeServiceModel = new PropertyTypeServiceModel(); return propertyTypeServiceModel.Get_SelectList_PropertyType(); }
/// <summary> /// Gets a list of PropertyTypes from the service model /// </summary> /// <returns></returns> public static List<PropertyType> GetPropertyTypeList() { // Get the property types PropertyTypeServiceModel propertyTypeServiceModel = new PropertyTypeServiceModel(); return propertyTypeServiceModel.Get_PropertyTypes(); }