private void Remove() { if (Index >= 0) { ClassGroups.RemoveAt(Index); } }
private void Remove() { if (Index >= 0) { if (RequestToDataBase.Instance.requestDeleteFromGroup(ClassGroups, Index)) { ClassGroups.RemoveAt(Index); } } }