public void Create(string email, string password, BllRole role) { Create(new BllUser { Email = email, Password = password, Role = role }); }
public bool Remove(BllRole entity) { if (entity != null) return Remove(entity.Id); else return false; }
public void Update(BllRole entity) { if (entity == null) throw new ArgumentNullException("entity"); roleRepo.Update(entity.ToDal()); uow.Save(); }
public void Create(BllRole entity) { roleRepo.Create(entity.ToDal()); uow.Save(); }