v1.1.1
This commit is contained in:
@@ -45,9 +45,9 @@ namespace CC.Yi.BLL
|
|||||||
|
|
||||||
public T Add(T entity)
|
public T Add(T entity)
|
||||||
{
|
{
|
||||||
CurrentDal.Add(entity);
|
var myEntity=CurrentDal.Add(entity);
|
||||||
DbSession.SaveChanges();
|
DbSession.SaveChanges();
|
||||||
return entity;
|
return myEntity;
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool Add(IEnumerable<T> entities)
|
public bool Add(IEnumerable<T> entities)
|
||||||
|
|||||||
Reference in New Issue
Block a user