Esempio n. 1
0
        public Task <ServiceAttributeSpecification> CreateAttributeSpecificationAsync(ServiceAttributeSpecification spec)
        {
            _serviceTypeValidator.ValidateTypeExists(spec.ServiceTypeId);
            _serviceTypeValidator.CanUpdateServiceType();

            AttributeSpecificationValidator.ValidateNameIsSet(spec);
            AttributeSpecificationValidator.ValidateSpecTypeIsSet(spec);

            return(null);
        }