private void ValidateUserId()
 {
     RuleFor(rate => rate.UserId)
     .NotEmpty()
     .WithMessage("Por favor indique o id do usuário para realizar o cadastro")
     .WithErrorCode("006")
     .Must(candidate => CommonValidations.GuidValidator(candidate.ToString()));
 }
 private void ValidateProductCode()
 {
     RuleFor(rate => rate.ProductCode)
     .NotEmpty()
     .WithMessage("Código do produto deve ser informado para realizar essa alteração")
     .WithErrorCode("001")
     .Must(candidate => CommonValidations.GuidValidator(candidate.ToString()))
     .WithMessage("O código deve ser um uuid válido!")
     .WithErrorCode("002");
 }
 private void ValidateUserId()
 {
     RuleFor(rate => rate.UserId)
     .NotEmpty()
     .WithMessage("O id do usuário deve ser informado")
     .WithMessage("004")
     .Must(candidate => CommonValidations.GuidValidator(candidate.ToString()))
     .WithMessage("O campo deve ser o uuid válido")
     .WithErrorCode("005");
 }
 private void ValidateProductId()
 {
     RuleFor(rate => rate.ProductId)
     .NotEmpty()
     .WithMessage("O id do produto deve ser informado")
     .WithMessage("006")
     .Must(candidate => CommonValidations.GuidValidator(candidate.ToString()))
     .WithMessage("O campo deve ser o uuid válido")
     .WithErrorCode("007");
 }
 private void ValidateRateId()
 {
     RuleFor(rate => rate.RateId)
     .NotEmpty()
     .WithMessage("O id da avaliação deve ser informado")
     .WithMessage("001")
     .Must(candidate => CommonValidations.GuidValidator(candidate.ToString()))
     .WithMessage("O campo deve ser o uuid válido")
     .WithErrorCode("002");
 }