// Constructors #region Constructors public AppointmentsViewModel( IReservationService reservationService, IScheduleService scheduleService, IPatientService patientService, ISpecializationService specializationService, IDoctorService doctorService) { _reservationService = reservationService; _scheduleService = scheduleService; _patientService = patientService; _specializationService = specializationService; _doctorService = doctorService; SelectedDate = DateTime.Today; UnregisterPatientCommand = new AsyncRelayCommand(UnregisterPatient, (obj) => SelectedReservation != null && SelectedReservation?.Patient != null, (ex) => throw ex); SelectReservationCommand = new RelayCommand(SelectReservation); OpenReservationDetailsCommand = new RelayCommand(OpenReservationDetails); SetSelectedDateToTodayCommand = new RelayCommand((obj) => SelectedDate = DateTime.Now); SetSelectedDoctorToNullCommand = new RelayCommand((obj) => SelectedDoctor = null); SetSelectedSpecializationToNullCommand = new RelayCommand((obj) => SelectedSpecialization = null); LoadSchedules(); LoadDoctors(); LoadSpecializations(); }
public DoctorModule(IDoctorService doctorService) { this.doctorService = doctorService; this.Get["/doctors/", ctx => isAvailable(ctx.Request)] = parameters => "hello curl"; this.Get["/doctors/"] = parameters => this.doctorService.ListActiveDoctors(); this.Get["/doctors/{id}"] = parameters => this.doctorService.GetDoctor(parameters.id); this.Get["/doctors/{id}/slots"] = parameters => this.doctorService.GetDoctorSlots(parameters.id.ToString(), this.Request.Query["date"], this.Request.Query["status"]); this.Get["/doctors/{id}/array_input"] = parameters => { var s = parameters.id.ToString(); var array = this.Request.Query["id"]; var bind = this.Bind <Hede>(); return(this.doctorService.GetDoctorArrayInput()); }; this.Post["/doctors/{id}/array_input"] = parameters => { var s = parameters.id.ToString(); var array = this.Request.Query["id"]; var bind = this.Bind <Hede>(); return(this.doctorService.GetDoctorArrayInput()); }; }
public HomeController(IAppointmentEventService appointmentEventService, ITimeSpanEventService timeSpanEventService, IDoctorService doctorService) { _appointmentEventService = appointmentEventService; _timeSpanEventService = timeSpanEventService; _doctorService = doctorService; }
public ScheduleService( IDataService dataService, IDoctorService doctorService) { _dataService = dataService; _doctorService = doctorService; }
// Constructors #region Constructors public ManageSchedulesViewModel( IDoctorService doctorService, IScheduleService scheduleService, GenerateScheduleViewModel generateScheduleViewModel) { _doctorService = doctorService; _scheduleService = scheduleService; GenerateScheduleViewModel = generateScheduleViewModel; _doctors = new List <DoctorModel>(); DoctorsCollectionView = CollectionViewSource.GetDefaultView(_doctors); DoctorsCollectionView.Filter = DoctorsFilter; DoctorsCollectionView.SortDescriptions.Add(new SortDescription(nameof(DoctorModel.LastName), ListSortDirection.Ascending)); _schedules = new List <Schedule>(); SchedulesCollectionView = CollectionViewSource.GetDefaultView(_schedules); SchedulesCollectionView.SortDescriptions.Add(new SortDescription(nameof(Schedule.Date), ListSortDirection.Ascending)); //OpenEditSelectedScheduleFormCommand = new RelayCommand(OpenEditSelectedScheduleForm, CanEditSelectedScheduleDay); DeleteSelectedScheduleDayCommand = new AsyncRelayCommand(DeleteSelectedScheduleDay, CanDeleteSelectedScheduleDay, (ex) => throw ex); GenerateNewScheduleCommand = new RelayCommand(GenerateNewSchedule); GenerateScheduleViewModel.FormSubmited += GenerateScheduleViewModel_FormSubmited; LoadDoctors(); DateFrom = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1); DateTo = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.DaysInMonth(DateTime.Now.Year, DateTime.Now.Month)); }
public AuthController(UserManager <ApplicationUsers> userManager, IOptions <ApplicationSettings> appSettings, IDoctorService doctorService, IPatientService patientService) { _userManager = userManager; _appSettings = appSettings.Value; _doctorService = doctorService; _patientService = patientService; }
public NoteService(INoteDAL noteDAL, IPatientService patientService, IDoctorService doctorService, IDiseaseService diseaseService) { this.NoteDAL = noteDAL; this.PatientService = patientService; this.DoctorService = doctorService; this.DiseaseService = diseaseService; }
public RecommendationsController(IDoctorService doctorService, IRecommendationService recommendationService, IPatientService patientService) { _doctorService = doctorService; _recommendationService = recommendationService; _patientService = patientService; }
public DoctorsController(IDoctorService doctorService, IDoctorRepository doctorRepository, IMapper mapper) { _doctorService = doctorService; _mapper = mapper; }
public AppointmentService(HospitalCalendarDbContextFactory contextFactory, INotificationService notificationService, IRoomService roomService, IDoctorService doctorService) : base(contextFactory) { _notificationService = notificationService; _roomService = roomService; _doctorService = doctorService; }
public PatientController(ApplicationUserManager userManager, IDoctorService doctorService, IPatientservice patientService) : base(userManager) { this._doctorService = doctorService; this._patientService = patientService; }
public HomeController(IUserService userService, IRoleService roleService, IDoctorService doctorService, IPatientService patientService) { this.userService = userService; this.roleService = roleService; this.doctorService = doctorService; this.patientService = patientService; }
public EventsController(IEventService eventService, IPatientService patientService, IDoctorService doctorService, ILogger <EventsController> logger) { _eventService = eventService; _patientService = patientService; _doctorService = doctorService; _logger = logger; }
public DoctorController(IDoctorService doctorService, IMapper mapper, IPatientCardService patientCardService, ILoggerService <DoctorController> loggerService) { _doctorService = doctorService; _mapper = mapper; _patientCardService = patientCardService; _loggerService = loggerService; }
public AppointmentController(IPatientService _patientService, IDoctorService _doctorService, IAppointmentService _appointmentService) { patientService = _patientService; doctorService = _doctorService; appointmentService = _appointmentService; }
public NoteController(INoteService noteService, IPatientService patientService, IDoctorService doctorService, IDiseaseService diseaseService) { NoteService = noteService; PatientService = patientService; DoctorService = doctorService; DiseaseService = diseaseService; }
public ReportService(ICalendarEntryService calendarEntryService, IAppointmentService appointmentService, IRoomService roomService, IDoctorService doctorService) { _calendarEntryService = calendarEntryService; _roomService = roomService; _doctorService = doctorService; _appointmentService = appointmentService; }
public AppointmentService( IDataService dataService, IDoctorService doctorService) { _dataService = dataService; _doctorService = doctorService; }
public PatientController(IPatientService patientService, IDoctorService doctorService, ILoggerService <PatientController> loggerService, IMapper mapper) { _patientService = patientService; _doctorService = doctorService; _loggerService = loggerService; _mapper = mapper; }
public UserService(IPatientService patientServ, IDoctorService _doctor, ISecretaryService secretaryService, IDirectorService directorService) { _patientService = patientServ; _doctorService = _doctor; _secretaryService = secretaryService; _directorService = directorService; }
public AppointmentController(IDoctorService doctorService, IAppointmentService scheduleService) { _doctorService = doctorService; _scheduleService = scheduleService; _context = new DPTSDbContext(); }
//public AccountController() //{ //} public AccountController(ApplicationUserManager userManager, ApplicationSignInManager signInManager, IDoctorService doctorService, IPatientservice patientService) { UserManager = userManager; SignInManager = signInManager; DoctorService = doctorService; PatientService = patientService; }
public DoctorController( IDoctorService doctorService, INotificationHandler <DomainNotification> notifications, IMediatorHandler mediator) : base(notifications, mediator) { _doctorService = doctorService; }
public DoctorsController(ILogger <UsersController> logger, IDoctorService doctorService, IStatsService statsService, UserManager <AppUser> userManager) { _logger = logger; _doctorService = doctorService; _statsService = statsService; _userManager = userManager; }
public DoctorController(IDoctorService doctorService, IMapper mapper, ILoggerService <DoctorController> loggerService, ISpecialityService specialityService) { _doctorService = doctorService; _mapper = mapper; _loggerService = loggerService; _specialityService = specialityService; }
public AdministrationController(IUnitOfWork data, IAdminService adminService, IDoctorService doctorService, ITrialService trialService) : base(data) { this.adminService = adminService; this.doctorService = doctorService; this.trialService = trialService; }
public EventsController(IAppointmentEventService appointmentEventService, ITimeSpanEventService timeSpanEventService, IDoctorService doctorService, IPatientService patientService) { _appointmentEventService = appointmentEventService; _timeSpanEventService = timeSpanEventService; _doctorService = doctorService; _patientService = patientService; }
public UserSearchService(IUnitOfWork unitOfWork, IPatientService patientService, IDoctorService doctorService, IMapper mapper, IUriService uriService) { _unitOfWork = unitOfWork; _doctorService = doctorService; _patientService = patientService; _mapper = mapper; _uriService = uriService; }
public PatientService(IOrchardServices orchardServices, IRepository<Patient> patientRepository, IDoctorService doctorService) { _orchardServices = orchardServices; _patientRepository = patientRepository; _doctorService = doctorService; }
public AuthorizationController(IAdminService adminService, IGreetingService greeting, IDoctorService doctorService) { _adminService = adminService; _greeting = greeting; _doctorService = doctorService; }
public HistoryController(IConversationService conversationService, IRecommendationService recommendationService, IPatientService patientService, SiteUserManager userManager, IDoctorService doctorService) { _conversationService = conversationService; _recommendationService = recommendationService; _patientService = patientService; _userManager = userManager; _doctorService = doctorService; }
public AdministrationController(IDoctorService doctorService, IQualifiactionService qualificationService, IGenericAttributeService genericAttributeService) { _doctorService = doctorService; _qualificationService = qualificationService; _genericAttributeService = genericAttributeService; }
public MedicalAppointmentService( IMedicalAppointmentRepository medicalAppointmentRepository, IDoctorService doctorService ) { _medicalAppointmentRepository = medicalAppointmentRepository; _doctorService = doctorService; }
public DoctorController(IMapper mapper, IDoctorService doctorService, ILogger <DoctorController> logger) { _mapper = mapper; _doctorService = doctorService; _logger = logger; }
public ExportImportsController(IImportManager importManager, IDoctorService doctorService, DPTSDbContext context) { _importManager = importManager; _context = context; _doctorService = doctorService; }
public HttpResponseMessage GetMedicalSpecializations(HttpRequestMessage request) { return GetHttpResponse(request, () => { _doctorService = new DoctorClient(); var specializations = _doctorService.GetMedicalSpecializations(); return request.CreateResponse<MedicalSpecialization[]>(HttpStatusCode.OK, specializations); }); }
public HttpResponseMessage GetAvailableDoctors(HttpRequestMessage request, DateTime appointmentDate,int doctorType) { return GetHttpResponse(request, () => { _doctorService = new DoctorClient(); var doctors = _doctorService.GetDoctorsWithSpecializationOnDate(doctorType, appointmentDate); return request.CreateResponse<Doctor[]>(HttpStatusCode.OK, doctors); }); }
public _HomeController(IPatientService patientService, SiteUserManager siteUserManager, IDoctorService doctorService, ISpecializationService specializationService, ITimeSpanEventService timeSpanEventService, IUserEventsService userEventsService) { _patientService = patientService; _siteUserManager = siteUserManager; _doctorService = doctorService; _specializationService = specializationService; _timeSpanEventService = timeSpanEventService; _userEventsService = userEventsService; }
public ConversationService( IDbContextProvider dbContextProvider, SiteUserManager userManager, IDoctorService doctorService, IPatientService patientService, IPaymentHistoryService paymentService) { _dbContext = dbContextProvider.Context; _userManager = userManager; _doctorService = doctorService; _patientService = patientService; _paymentService = paymentService; }
public DoctorsController(IDoctorService doctors, IMemoService memo, IPacientService pacients) { this._doctors = doctors; this._memo = memo; this._pacients = pacients; }
public PatientApiController(IDoctorService doctorService) { _doctorService = doctorService; }
public DoctorController(IDoctorService doctorService, SiteUserManager userManager) { _doctorService = doctorService; _userManager = userManager; }
public AccountController(IPacientService pacients, IDoctorService doctors) { this._pacients = pacients; this._doctors = doctors; }
public BookingApiController(IDoctorService doctorService) { _doctorService = doctorService; }
public DoctorController(IDoctorService doctorService) { _doctorService = doctorService; }
public DoctorApiController(IDoctorService doctorService, IOrchardServices orchardServices) { _orchardServices = orchardServices; _doctorService = doctorService; }
public ConversationController(IConversationService conversationService, IDoctorService doctorService) { _conversationService = conversationService; _doctorService = doctorService; }
public StatusController(IDoctorService service) { _service = service; }