Nfield.Services.Implementation.NfieldSurveysService.GetInterviewerInstructionUri C# (CSharp) Method

GetInterviewerInstructionUri() private method

Returns the URI to upload the interviewer instructions based on the provided surveyId and fileName
private GetInterviewerInstructionUri ( string surveyId, string fileName ) : string
surveyId string
fileName string
return string
        private string GetInterviewerInstructionUri(string surveyId, string fileName)
        {
            var result = new StringBuilder(ConnectionClient.NfieldServerUri.AbsoluteUri);
            result.AppendFormat(@"Surveys/{0}/{1}/"
                , surveyId, SurveyInterviewerInstructionsControllerName);
            if (!string.IsNullOrEmpty(fileName))
                result.AppendFormat(@"/{0}", fileName);
            return result.ToString();
        }