List <Property> IPropertyService.GetProperties(Guid siteId, bool isFunctionProperty) { return(_dbContext.Properties.Where(x => x.SiteId == siteId && x.IsFunctionProperty == isFunctionProperty).Select(x => PropertyEntity.MapTo(x)).ToList()); }