public void UpdateResponseGridColumnNames(FormSettingBO formSettingBO, string formId) { var responseGridColumnSettingsList = formSettingBO.ResponseGridColumnNameList .Select(n => new ResponseGridColumnSettings { ColumnName = n.Value, SortOrder = n.Key, FormId = formId }) .ToList(); _formResponseCRUD.UpdateResponseGridColumnNames(formId, responseGridColumnSettingsList); }
public void UpdateResponseDisplaySettings(string formId, List <ResponseGridColumnSettings> responseDisplaySettings) { _formResponseCRUD.UpdateResponseGridColumnNames(formId, responseDisplaySettings); }