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