Exemplo n.º 1
0
        public Registrant Save(Registrant registrant)
        {
            if (registrant == null)
            {
                throw new ArgumentNullException(nameof(registrant), "The registrant object cannot be null.");
            }

            return(registrantRepo.Insert(registrant));
        }