protected void btnSave_Click(object sender, EventArgs e) { if (!CheckInput()) { return; } LPWeb.Model.Template_Workflow model = FillModel(); try { hdnTmpID.Value = template.WorkflowTemplateAdd(model).ToString(); } catch { } }