using Aucma.Scada.Model.domain; namespace HighWayIot.Repository.service.Impl { public class PrintBarCodeServicesImpl : IPrintBarCodeServices { Repository _repository => new Repository("scada"); public PrintBarCode query(string code) { return _repository.GetFirst(x => x.MaterialBarcode.Equals(code)); } } }