Beispiel #1
0
 public void Test_AddCourse()
 {
     using (var Reg = new RegistrationDBEntities())
     {
         var NewCourse = Reg.AddCourse("Test", 0, 0, "Test", 0, new TimeSpan(0, 0, 0), new TimeSpan(0, 0, 0), new TimeSpan(0, 0, 0));
     }
 }
 public void Run_AddCourse(string Name, int Credits, int Cap, string Dept, int Duration, TimeSpan StartTime1, TimeSpan StartTime2, TimeSpan StartTime3)
 {
     using (var Reg = new RegistrationDBEntities())
     {
         var NewCourse = Reg.AddCourse(Name, Credits, Cap, Dept, Duration, StartTime1, StartTime2, StartTime3);
     }
 }