public void onStart(string type)
{
switch (type)
{
case "M1":
Persistance.DBController.setController(PersistanceTypes.Persistance1);
break;
case "M2":
Persistance.DBController.setController(PersistanceTypes.Persistance2);
break;
default:
throw new Exception("There is no such persistance available");
}
}
}