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

            roleRepo.Update(entity.ToDal());
            uow.Save();
        }
Ejemplo n.º 4
0
 public void Create(BllRole entity)
 {
     roleRepo.Create(entity.ToDal());
     uow.Save();
 }