public void ValidateRequest(CreateOrUpdateOptionRequest request) { if (string.IsNullOrEmpty(request.Name)) { throw new ValidationException("Option name must be provided"); } }
private void GivenAddOptionRequest() { _request = new CreateOrUpdateOptionRequest { Name = "White", Description = "White LG" }; }