public void Setup()
 {
     db = new BUEnrolmentContext();
     _students = new List<Student>();
     _sc = new StudentController(db);
 }
 public void Setup()
 {
     _subjects = new List<Subject>
         {
             new Subject() {Active = true, Name = "Apple", MaxEnrolment = 3, SubjectNumber = "1000"},
             new Subject() {Active = true, Name = "Orange", MaxEnrolment = 3, SubjectNumber = "2000"}
         };
     db = new BUEnrolmentContext();
 }
 public ResultController(ref BUEnrolmentContext db)
 {
     AppDomain.CurrentDomain.SetData("DataDirectory", System.IO.Directory.GetCurrentDirectory());
     this.db = db;
 }