Example #1
0
        public bool UpdateAppMapping(int Appid, int Shareid, int RowID)
        {
            objclsBALApplication = new clsBALApplication();
            bool flag = CheckIfMappingexists(Appid, Shareid);

            if (flag == true)
            {
                lblError.Text = "Mapping already exists.";
            }
            else
            {
                bool bln = objclsBALApplication.UpdateAppShareMapping(Appid, Shareid, RowID);
                lblSuccess.Text = "Mapping updated sucessfully.";
            }
            return(true);
        }