简单基类控制器封装

This commit is contained in:
chenchun
2022-09-10 20:49:46 +08:00
parent b5ad7a1721
commit 0dca7acee6
11 changed files with 172 additions and 144 deletions

View File

@@ -8,7 +8,7 @@ using Yi.Framework.Repository;
namespace Yi.Framework.Interface
{
public interface IBaseService<T> where T: class, IBaseModelEntity,new()
public interface IBaseService<T> where T: class,new()
{
public IRepository<T> _repository { get; set; }
}