예제 #1
0
        public SlotsController(OnlineClinicContext context)
        {
            _context = context;

            slots = new Slots();

            sb = new ServiceBus();
            sb.SetHandler(
                ServiceBus.DefaultMessageHandler,
                ServiceBus.DefaultErrorHandler
                );
        }
예제 #2
0
        public HomeController(OnlineClinicContext context)
        {
            _context = context;

            setFirstPatientAsDoctor();
            setDefaultDoctor();

            sb = new ServiceBus();
            sb.SetHandler(
                ServiceBus.DefaultMessageHandler,
                ServiceBus.DefaultErrorHandler
                );
        }
예제 #3
0
 public Appointments(OnlineClinicContext context)
 {
     _context = context;
 }
예제 #4
0
 public Patients(OnlineClinicContext context)
 {
     _context = context;
 }
예제 #5
0
 public ViewAppointmentsController(OnlineClinicContext context)
 {
     _context = context;
 }