Example #1
0
 public void Create(string email, string password, BllRole role)
 {
     Create(new BllUser { Email = email, Password = password, Role = role });
 }
Example #2
0
 public bool Remove(BllRole entity)
 {
     if (entity != null)
         return Remove(entity.Id);
     else return false;
 }
Example #3
0
        public void Update(BllRole entity)
        {
            if (entity == null)
                throw new ArgumentNullException("entity");

            roleRepo.Update(entity.ToDal());
            uow.Save();
        }
Example #4
0
 public void Create(BllRole entity)
 {
     roleRepo.Create(entity.ToDal());
     uow.Save();
 }