using System.Collections.Generic; using System.Threading.Tasks; using Volo.Abp.Uow; namespace Win.Sfs.Shared.ApplicationBase { public interface IHasDetailAppService : IUnitOfWorkEnabled { Task GetDetailAsync(TKey id, TDetailKey detailKey); Task> GetAllDetailsAsync(TKey id); Task GetDetailCountAsync(TKey id); Task> GetDetailsByFilterAsync(TKey key, TDetailRequestDto input); // Task AddDetailAsync(TKey id, TDetailEntity detail); Task AddDetailsAsync(TKey id, List details); Task ClearDetailsAsync(TKey id); // Task UpdateDetailAsync(TKey id, TDetailEntity detail); Task UpdateDetailsAsync(TKey key, List details); // Task DeleteDetailAsync(TKey id, TDetailKey detailKey); Task DeleteDetailsAsync(TKey key, List detailKeys); } }