API
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

IPropertyRepository.cs 791B

123456789101112131415161718
  1. using System;
  2. using System.Collections.Generic;
  3. using UnivateProperties_API.Containers.Property;
  4. using UnivateProperties_API.Model.Properties;
  5. namespace UnivateProperties_API.Repository.Properties
  6. {
  7. public interface IPropertyRepository : IRepository<Property>
  8. {
  9. List<PropertyDisplay> GetDisplay();
  10. List<PropertyDisplay> GetDisplay(Func<Property, bool> where);
  11. List<PropertyDisplay> GetDisplay(string Keyword);
  12. List<PropertyDisplay> GetDisplay(string type, string propertyType, string province, string city, string suburb, string propType);
  13. List<PropertyDisplay> GetLatestDisplay();
  14. List<PropertyType> GetPropertyTypes(Func<PropertyType, bool> where);
  15. List<PropertyList> GetPropertyList(Func<Property, bool> where);
  16. }
  17. }