Ejemplo n.º 1
0
 protected void RolesListView_ItemCommand(object sender, ListViewCommandEventArgs e)
 {
     if(e.CommandName == "AddDefaultRoles")
     {
         var controller = new RoleManager();
         controller.AddDefaultRoles();
         DataBindRoleList();
     }
 }
 protected void RolesListView_ItemCommand(object sender, ListViewCommandEventArgs e)
 {
     if (e.CommandName == "AddDefaultRoles")
     {
         var controller = new RoleManager();
         controller.AddDefaultRoles();
         DataBindRoleList();
     }
 }