Exemple #1
0
        private static async Task ValidateDataFields(Brand brand)
        {
            try
            {
                await Name.ValidateNew(brand.Name);

                await Cnpj.ValidateNew(brand.Cnpj);
            }
            catch (Exception e)
            {
                throw e;
            }
        }