LFlow/LFlow.Base/Interfaces/IService.cs

13 lines
209 B
C#
Raw Normal View History

2024-10-16 11:35:05 +08:00
using System;
namespace LFlow.Base.Interfaces;
public interface IService<T> where T : IModel
{
T GetById(string id);
List<T> Search(T whereObj);
T DeleteById(string id);
T Save(T entity);
}