protected void btnSubmit_Click(object sender, EventArgs e)
 {
     if (!string.IsNullOrEmpty(txtTitle.Text))
     {
         CateGoryEntity model = GetEntity();
         int            id    = ccApp.AddCateGory(model);
         if (id > 0)
         {
             Redirect(EmptyPopPageUrl, false, true);
         }
         else
         {
             ShowFailMessageToClient(ccApp.BrokenRuleMessages);
         }
     }
 }
 protected void btnSave_Click(object sender, EventArgs e)
 {
     if (!string.IsNullOrEmpty(txtTitle.Text))
     {
         CateGoryEntity model = GetEntity();
         int            id    = ccApp.AddCateGory(model);
         if (id > 0)
         {
             ShowSuccessMessageToClient();
         }
         else
         {
             ShowFailMessageToClient(ccApp.BrokenRuleMessages);
         }
     }
 }