Exemple #1
0
 public void Test_UpdateCapacity()
 {
     using (var Reg = new RegistrationDBEntities())
     {
         var UpdateCourseCapacity = Reg.UpdateCapacity(5, 30);
     }
 }
 public void Run_UpdateCapacity(int Id, int NewCap)
 {
     using (var Reg = new RegistrationDBEntities())
     {
         var UpdateCourseCapacity = Reg.UpdateCapacity(Id, NewCap);
     }
 }