mirrored_repositories/SchoolMate-App/lib/student/controllers
import 'package:get/get.dart';
import 'package:school_management_system/public/config/user_information.dart';
import 'package:school_management_system/student/resources/subject/subject_api.dart';

class SubjectController extends GetxController {
  var subjectServices = SubjectServices();
  var subjectList = [].obs;
  getSujects() async {
    subjectList.value = await subjectServices.getUserSubjects();
    UserInformation.Subjects = subjectList.value;
  }
}
