Exemplo n.º 1
0
        public static UserSurveyTask CreateTaskForResponse(this SurveyTargetCampaign campaign, SurveyResponse result)
        {
            var task = CreateTaskForResponse(campaign.As <SurveyCampaign>(), result);

            task.UserSurveyTaskAllowTargetEdit = false;
            return(task);
        }
Exemplo n.º 2
0
 public static SurveyResponse CreateSurveyResponse(this SurveyTargetCampaign campaign, Person recipient, UserResource targetObject = null)
 {
     return(CreateSurveyResponse(campaign.As <SurveyCampaign>(), recipient, targetObject));
 }