コード例 #1
0
 //Agregar role a actor
 public int addRoleToActor(string namearena, Role role)
 {
     if (Arena.ValidateVal(namearena) && Arena.ValidateVal(Name) && Arena.ValidateVal(role.Name))
     {
         return(ledeer_data.AddRoleToActor(namearena, Name, role.Name));
     }
     else
     {
         return(-1);
     }
 }