public void Create(string name, string password, BllRoleEntity role) { Create(new BllUserEntity { Name = name, Password = password, BllRole = role }); }
public void Create(BllRoleEntity role) { _repository.Create(role.ToDal()); _unitOfWork.Commit(); }