using BZPT.Domains.Entity.Sys; using BZPT.Dto.VO; using DevExtreme.AspNet.Data; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BZPT.Domains.IService { public interface ICRUDService { Task Add(TDto addCommand); Task Delete(string userId); Task Edit(TDto editCommand); Task> GetListAsync(QueryExp exp); Task> GetListAsync(Expression> filter); Task> GetPageAsync(QueryPageExp exp); Task> GetPageAsync(DataSourceLoadOptions loadOptionsexp); Task> GetPageAsync(DataSourceLoadOptions loadOptionsexp); Task GetAsync(string userId); } }