Esempio n. 1
0
 public string[] setVolunteerDataBase(CreateVolunteer VolunteerData)
 {
     CaseDataBase SDB = new CaseDataBase();
     if (int.Parse(SDB._StaffhaveRoles[1]) == 1)
     {
         return SDB.setVolunteerDataBase(VolunteerData);
     }
     else
     {
         return new string[2] { _noRole, _errorMsg };
     }
 }