mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-03 00:00:58 +08:00
v1.1.1
This commit is contained in:
@@ -45,9 +45,9 @@ namespace CC.Yi.BLL
|
||||
|
||||
public T Add(T entity)
|
||||
{
|
||||
CurrentDal.Add(entity);
|
||||
var myEntity=CurrentDal.Add(entity);
|
||||
DbSession.SaveChanges();
|
||||
return entity;
|
||||
return myEntity;
|
||||
}
|
||||
|
||||
public bool Add(IEnumerable<T> entities)
|
||||
|
||||
Reference in New Issue
Block a user