Exemplo n.º 1
0
 public bool DelRole(string roleid)
 {
     bool suc = false;
     Role _operator = new Role();
     suc = _operator.DelRole(roleid);
     //return _operator.Delete(" Company_ID = " + Convert.ToInt32(companyid));
     if (suc)
     {
         Application["App_Role"] = CommonLib.GetRole();
     }
     return suc;
 }