Esempio n. 1
0
 /// <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();
 }
Esempio n. 2
0
 /// <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();
 }