成功写入Uesrs数据库表
This commit is contained in:
14
WorkStation.Server/Services/IBaseSerivice.cs
Normal file
14
WorkStation.Server/Services/IBaseSerivice.cs
Normal file
@ -0,0 +1,14 @@
|
||||
using WorkStation.Share;
|
||||
|
||||
namespace WorkStation.Server.Services
|
||||
{
|
||||
public interface IBaseSerivice<T>
|
||||
{
|
||||
Task<ApiResponse> AddAsync(T item);
|
||||
Task<ApiResponse> DelateAsync(int id);
|
||||
Task<ApiResponse> UpdateAsync(T item);
|
||||
Task<ApiResponse> GetByIdAsync(int id);
|
||||
Task<ApiResponse> GetAllAsync();
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user