添加项目文件。
This commit is contained in:
11
TechHelper.Server/Services/IBaseService.cs
Normal file
11
TechHelper.Server/Services/IBaseService.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace TechHelper.Services
|
||||
{
|
||||
public interface IBaseService<T, TId>
|
||||
{
|
||||
Task<ApiResponse> GetAllAsync(QueryParameter query);
|
||||
Task<ApiResponse> GetAsync(TId id);
|
||||
Task<ApiResponse> AddAsync(T model);
|
||||
Task<ApiResponse> UpdateAsync(T model);
|
||||
Task<ApiResponse> DeleteAsync(TId id);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user