/*
        Metodo que inserta un nuevo grupo
        */
        protected void AddGroup_Click(object sender, EventArgs e)
        {
            string value = ValueGroup.Text;
            if (value != "")
            {
                EquipmentService equipmentService = new EquipmentService();

                String user = Context.User.Identity.Name;
                AuditDataFromWeb audit = new AuditDataFromWeb();
                audit.Reason = "N/A";
                audit.StationIP = General.getIp(this.Page);
                audit.UserName = user;

                CUDView crud = equipmentService.insertEquipmentGroup(value, audit);

                if (crud.insert == false)
                {
                    this.Page.ClientScript.RegisterStartupScript(this.GetType(), "alert", "alert('Could not insert the Value')", true);
                }
                else
                {
                    ValueGroup.Text = "";
                    filEquipmentGroupTable();
                    upModalSuccess.Update();
                }
            }
        }
        protected void AddGroup_Click(object sender, EventArgs e)
        {
            string value = ValueGroup.Text;
            if (value != "")
            {
                EquipmentService equipmentService = new EquipmentService();
                CUDView crud =  equipmentService.insertEquipmentGroup(value);

                if (crud.insert == false)
                {
                    this.Page.ClientScript.RegisterStartupScript(this.GetType(), "alert", "alert('Could not insert the Value')", true);
                }
                else
                {
                    ValueGroup.Text = "";
                    filEquipmentGroupTable();
                    upModalSuccess.Update();
                }
            }
        }