Esempio n. 1
0
 public CreateVolunteer getVolunteerServiceDataBase(int index,string vID)
 {
     CaseDataBase SDB = new CaseDataBase();
     CreateVolunteer returnValue = new CreateVolunteer();
     if (int.Parse(SDB._StaffhaveRoles[3]) == 1)
     {
         returnValue=SDB.getVolunteerServiceData(index, vID);
     }
     else
     {
         returnValue.checkNo = _noRole;
         returnValue.errorMsg = _errorMsg;
     }
     return returnValue;
 }