public async Task <ActionResult <IEnumerable <PropertyFeatureTranslateDto> > > GetFromTenant(int tenantId, CancellationToken cancellationToken)
        {
            var res = await ModelService.DataConvertQuery(ModelService.AsQueryable(i => i.PropertyFeatureId == tenantId))
                      .ToListAsync(cancellationToken);

            return(res);
        }
Пример #2
0
 public async Task <ActionResult <IEnumerable <PropertyFloorPlanDto> > > GetPropertyFloorPlans(int propertyId, CancellationToken cancellationToken)
 => await ModelService.DataConvertQuery(ModelService.AsQueryable(i => i.PropertyId == propertyId)).ToListAsync(cancellationToken);