コード例 #1
0
        public IEnumerable <WentylatorsDTO> GetWentylators(WentylatorParams wentylatorParams)
        {
            _logger.LogInformation("Getting wentylators {0}", wentylatorParams);
            var Wentylators = _context.Wentylators.Include(w => w.Coefficients).Include(w => w.Nature).AsEnumerable();

            Wentylators = QueryHelper.QueryAllWentylators(Wentylators, wentylatorParams);
            var wentylatorsDTO = DTOHelper.PackWentylatorsToDTO(Wentylators);

            return(wentylatorsDTO);
        }