123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- using Admin.Core.Model.Input;
- using Admin.Core.Service.Admin.Api.Input;
- using Admin.Core.Model.Output;
- using Admin.Core.Model.Admin;
- using System.Threading.Tasks;
- namespace Admin.Core.Service.Admin.Api
- {
-
-
-
- public interface IApiService
- {
-
-
-
-
-
- Task<IResponseOutput> GetAsync(long id);
-
-
-
-
-
- Task<IResponseOutput> ListAsync(string key);
-
-
-
-
-
- Task<IResponseOutput> PageAsync(PageInput<ApiEntity> model);
-
-
-
-
-
- Task<IResponseOutput> AddAsync(ApiAddInput input);
-
-
-
-
-
- Task<IResponseOutput> UpdateAsync(ApiUpdateInput input);
-
-
-
-
-
- Task<IResponseOutput> DeleteAsync(long id);
-
-
-
-
-
- Task<IResponseOutput> SoftDeleteAsync(long id);
-
-
-
-
-
- Task<IResponseOutput> BatchSoftDeleteAsync(long[] ids);
-
-
-
-
-
- Task<IResponseOutput> SyncAsync(ApiSyncInput input);
- }
- }
|