Exemple #1
0
        public int SaveRoldata(RoleMaster r)
        {
            int n = 0;

            try
            {
                IRoleMasterDA objRol = new RoleMasterDA();
                n = Convert.ToInt32(objRol.SaveRoleMasterdataToDB(r));
            }

            catch
            {
            }


            return(n);
        }
Exemple #2
0
        public int DeleteRoldata(RoleMaster r)
        {
            int n = 0;

            try
            {
                IRoleMasterDA objRol = new RoleMasterDA();
                n = Convert.ToInt32(objRol.DeleteRoleMasterdata(r));
            }

            catch (Exception ex)
            {
            }

            finally
            {
            }

            return(n);
        }