예제 #1
0
        public void Update(BllRole entity)
        {
            if (entity == null)
            {
                throw new ArgumentNullException("entity");
            }

            roleRepo.Update(entity.ToDal());
            uow.Save();
        }
예제 #2
0
 public void Create(BllRole entity)
 {
     roleRepo.Create(entity.ToDal());
     uow.Save();
 }