Example #1
0
        private FormSettingResponse CreateFormSettingResponse(string formId, int userId, FormSettingBO formSettingBO)
        {
            FormSettingResponse response = new FormSettingResponse();

            var formInfoImplementation = new FormInfo(_formInfoDao);
            var formInfoBO             = formInfoImplementation.GetFormInfoByFormId(formId, userId);

            response.FormInfo    = formInfoBO.ToFormInfoDTO();
            response.FormSetting = formSettingBO.ToFormSettingDTO();

            return(response);
        }