public void AddHolder(string name, string surname) { var id = _holderIdService.GenerateHolderId(); var holder = new Holder(id, name, surname, new List <long>()); _repository.Add(holder.ToDTOHolder()); }