using Models; using SlnMesnac.Common; using SlnMesnac.Repository.service.@base; using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace SlnMesnac.Repository.service.Impl { public class CfgstationattrServiceImpl : BaseServiceImpl, ICfgstationattrService { private Repository _repository; public CfgstationattrServiceImpl(Repository rep) : base(rep) { _repository = rep; } public async Task> GetTableListAsync() { List list = null; try { Expression> exp = x => true; exp = exp.And(x => (x.Opername != "") ); list = _repository.GetList(exp); } catch (Exception ex) { } return list; } } }