Основные методы
Основные методы
Основные методы
Основные методы
public void SaveQuestion(Question q) { int active = 0; int mandatory = 0; if (q.Active) { active = 1; } if (q.Mandatory) { mandatory = 1; } client = new SQSAdminServiceClient(); client.Endpoint.Address = new System.ServiceModel.EndpointAddress(CommonVariables.WcfEndpoint); client.SQSAdmin_StudioM_AddEditQuestion(q.QuestionID, q.AnswerTypeID, q.QuestionText, active, mandatory, q.QuestionStateID); client.Close(); }