public IEnumerable <LotDto> GetAllLotsWithUsers(LotsFilterCriteria criteria) { if (criteria.Category == 0) // Skip default; { criteria.Category = null; } return(_lotRepository.GetAllLotsWithUsers(criteria).ToDto()); }
public IEnumerable <LotDto> GetAllLotsWithUsers(LotsFilterCriteria criteria) { if (criteria.Category == 0) // Skip default; { criteria.Category = null; } return(_lotRepository.GetAllLotsWithUsers(criteria).ToDto()); }