using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace JinYuan.DAL.Service { public interface IBaseService where T : class, new() { List GetList(); DataTable GetDataTable(); bool Add(T model); bool Update(T model); bool SoftDelete(int id); } }