Пример #1
0
 public bool Save(BiAuth_Role entity, bool IsCommit = true)
 {
     DbContext.Add(entity);
     if (IsCommit)
     {
         return(DbContext.SaveChanges() > 0);
     }
     else
     {
         return(false);
     }
 }
 public bool Save(BiAuth_Role ent)
 {
     return(_testRepository.Save(ent));
 }