public async Task <List <SoftwareResponse> > GetAllSoftwareByMACDeviceAsync(GetSoftwareByMACDeviceRequest request)
 {
     return(await GetAsync <DomainModel.Software>()
            .Where(x => !x.Deleted.HasValue && x.IsActive() && x.MACDevice == request.MACDevice)
            .ProjectTo <SoftwareResponse>(_mapper.ConfigurationProvider)
            .ToListAsync());
 }
Example #2
0
        public async Task <List <SoftwareResponse> > GetAllSoftwareByMACDeviceAsync(GetSoftwareByMACDeviceRequest request)
        {
            var result = await _softwareRepository.GetAllSoftwareByMACDeviceAsync(request);

            return(result);
        }