コード例 #1
0
 public ChatHub(
     IDoctorsService doctorsService,
     IPatientsService patientsService)
 {
     this.doctorsService  = doctorsService;
     this.patientsService = patientsService;
 }
コード例 #2
0
 public PatientsController(
     IPatientsService patientsService,
     IDoctorsService doctorsService)
 {
     this.patientsService = patientsService;
     this.doctorsService  = doctorsService;
 }
コード例 #3
0
 public PrescriptionsController(
     IPrescriptionsService prescriptionsService,
     IPatientsService patientsService,
     IDoctorsService doctorsService)
 {
     this.prescriptionsService = prescriptionsService;
     this.patientsService      = patientsService;
     this.doctorsService       = doctorsService;
 }
コード例 #4
0
 public DoctorsController(
     IDoctorsService doctorsService,
     ISpecialitiesService specialitiesService,
     UserManager <ApplicationUser> userManager)
 {
     this.doctorsService      = doctorsService;
     this.specialitiesService = specialitiesService;
     this.userManager         = userManager;
     mapper = AutoMapperConfig.MapperInstance;
 }
コード例 #5
0
 public RolesController(
     IRolesService rolesService,
     IUsersService usersService,
     IDoctorsService doctorsService,
     ICareersInfoService careersInfoService)
 {
     this.rolesService       = rolesService;
     this.usersService       = usersService;
     this.doctorsService     = doctorsService;
     this.careersInfoService = careersInfoService;
 }
コード例 #6
0
 public RequestsController(
     IPatientRequestService requests,
     IPatientService patients,
     IUsersService users,
     IDoctorsService doctors)
 {
     this.requests = requests;
     this.patients = patients;
     this.users = users;
     this.doctors = doctors;
 }
コード例 #7
0
 public HospitalsController(
     IHospitalsService hospitals,
     IDoctorsService doctors,
     IUsersService users,
     IDepartmentsService departments)
 {
     this.hospitals   = hospitals;
     this.doctors     = doctors;
     this.users       = users;
     this.departments = departments;
 }
コード例 #8
0
 public ConsultationsController(
     IDoctorsService doctorsService,
     IConsultationsService consultationsService,
     IPatientsService patientsService,
     IEventsService eventsService)
 {
     this.doctorsService       = doctorsService;
     this.consultationsService = consultationsService;
     this.patientsService      = patientsService;
     this.eventsService        = eventsService;
 }
 public HospitalsController(
     IHospitalsService hospitals,
     IDoctorsService doctors,
     IUsersService users,
     IDepartmentsService departments)
 {
     this.hospitals = hospitals;
     this.doctors = doctors;
     this.users = users;
     this.departments = departments;
 }
コード例 #10
0
 public RequestsController(
     IPatientRequestService requests,
     IPatientService patients,
     IUsersService users,
     IDoctorsService doctors)
 {
     this.requests = requests;
     this.patients = patients;
     this.users    = users;
     this.doctors  = doctors;
 }
コード例 #11
0
 public DoctorsController(
     IDoctorsService doctorsService,
     IConsultationsService consultationsService,
     IPatientsService patientsService,
     ITownsService townsService)
 {
     this.doctorsService       = doctorsService;
     this.consultationsService = consultationsService;
     this.patientsService      = patientsService;
     this.townsService         = townsService;
 }
コード例 #12
0
ファイル: Add.cshtml.cs プロジェクト: mitko100/DentalSystem
 public AddModel(
     IDoctorsService doctorsService,
     IPatientsService patientsService,
     IAppointmentsService appointmentsService,
     IManipulationsService manipulationsService,
     UserManager <User> userManager)
 {
     this.doctorsService       = doctorsService;
     this.patientsService      = patientsService;
     this.appointmentsService  = appointmentsService;
     this.manipulationsService = manipulationsService;
     this.userManager          = userManager;
 }
コード例 #13
0
 public EventsService(
     IDeletableEntityRepository <CalendarEvent> eventsRepository,
     IDeletableEntityRepository <Consultation> consultationsRepository,
     IDoctorsService doctorsService,
     IPatientsService patientsService,
     IEmailsService emailsService)
 {
     this.eventsRepository        = eventsRepository;
     this.consultationsRepository = consultationsRepository;
     this.doctorsService          = doctorsService;
     this.patientsService         = patientsService;
     this.emailsService           = emailsService;
 }
コード例 #14
0
 public StatisticsController(
     IDoctorsService doctorsService,
     ITownsService townsService,
     IPatientsService patientsService,
     IConsultationsService consultationsService,
     ISpecialtiesService specialtiesService)
 {
     this.doctorsService       = doctorsService;
     this.townsService         = townsService;
     this.patientsService      = patientsService;
     this.consultationsService = consultationsService;
     this.specialtiesService   = specialtiesService;
 }
コード例 #15
0
 public ConsultationsService(
     IDeletableEntityRepository <Doctor> doctorRepository,
     IDeletableEntityRepository <Consultation> consultationsRepository,
     IDeletableEntityRepository <Patient> patientsRepository,
     IEmailsService emailsService,
     IDoctorsService doctorsService,
     IPatientsService patientsService)
 {
     this.doctorRepository        = doctorRepository;
     this.consultationsRepository = consultationsRepository;
     this.patientsRepository      = patientsRepository;
     this.emailsService           = emailsService;
     this.doctorsService          = doctorsService;
     this.patientsService         = patientsService;
 }
コード例 #16
0
 public IndexModel(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     IUsersService usersService,
     IDoctorsService doctorsService,
     ICareersInfoService careersInfoService,
     ICloudinaryService cloudinaryService,
     IProfilePictureService profilePictureService)
 {
     this._userManager          = userManager;
     this._signInManager        = signInManager;
     this.usersService          = usersService;
     this.careersInfoService    = careersInfoService;
     this.doctorsService        = doctorsService;
     this.cloudinaryService     = cloudinaryService;
     this.profilePictureService = profilePictureService;
 }
コード例 #17
0
 public RegisterDoctor(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     ILogger <RegisterDoctor> logger,
     IUsersService usersService,
     ITownsService townsService,
     IDoctorsService doctorsService,
     ISpecialtiesService specialtiesService,
     IConfiguration configuration,
     IEmailSender emailSender)
 {
     this.userManager        = userManager;
     this.signInManager      = signInManager;
     this.logger             = logger;
     this.usersService       = usersService;
     this.townsService       = townsService;
     this.doctorsService     = doctorsService;
     this.specialtiesService = specialtiesService;
     this.configuration      = configuration;
     this.emailSender        = emailSender;
 }
コード例 #18
0
        public BaseTestClass()
        {
            var options = new DbContextOptionsBuilder <ApplicationDbContext>()
                          .UseInMemoryDatabase(Guid.NewGuid().ToString());

            this.EventsRepository        = new EfDeletableEntityRepository <CalendarEvent>(new ApplicationDbContext(options.Options));
            this.ConsultationsRepository = new EfDeletableEntityRepository <Consultation>(new ApplicationDbContext(options.Options));
            this.DoctorsRepository       = new EfDeletableEntityRepository <Doctor>(new ApplicationDbContext(options.Options));
            this.UsersRepository         = new EfDeletableEntityRepository <ApplicationUser>(new ApplicationDbContext(options.Options));
            this.PatientsRepository      = new EfDeletableEntityRepository <Patient>(new ApplicationDbContext(options.Options));
            this.PrescribtionsRepository = new EfDeletableEntityRepository <Prescription>(new ApplicationDbContext(options.Options));

            this.EmailSender   = new SendGridEmailSender("test");
            this.EmailsService = new EmailsService(this.EmailSender);

            this.DoctorsService = new DoctorsService(
                this.DoctorsRepository,
                this.UsersRepository,
                this.EmailsService,
                this.PatientsRepository);

            this.PatientsService = new PatientsService(this.PatientsRepository);

            this.ConsultationsService = new ConsultationsService(
                this.DoctorsRepository,
                this.ConsultationsRepository,
                this.PatientsRepository,
                this.EmailsService,
                this.DoctorsService,
                this.PatientsService);

            this.EventsService = new EventsService(
                this.EventsRepository,
                this.ConsultationsRepository,
                this.DoctorsService,
                this.PatientsService,
                this.EmailsService);

            this.PrescriptionsService = new PrescriptionsService(this.PrescribtionsRepository);
        }
コード例 #19
0
 public AppointmentsController(IDoctorsService doctorsService, IAppointmentsService appointmentsService)
 {
     this.doctorsService      = doctorsService;
     this.appointmentsService = appointmentsService;
 }
 public AutoCompleteController(IDoctorsService doctors)
 {
     this.doctors = doctors;
 }
コード例 #21
0
 public DoctorsController(IDoctorsService doctorsService, IPersonService userService)
 {
     _doctorsService = doctorsService;
     _userService    = userService;
 }
コード例 #22
0
 public DoctorsController(IDoctorsService service)
 {
     _service = service;
 }
コード例 #23
0
 public DoctorsController(IDoctorsService doctorsService, ICategoriesService categoriesService)
 {
     this.doctorsService    = doctorsService;
     this.categoriesService = categoriesService;
 }
コード例 #24
0
 public DoctorsController(IDoctorsService doctors)
 {
     this.doctors = doctors;
 }
コード例 #25
0
 public DoctorsController(IDoctorsService doctorsService)
 {
     _doctorsService = doctorsService;
 }
コード例 #26
0
 public AutoCompleteController(IDoctorsService doctors)
 {
     this.doctors = doctors;
 }
コード例 #27
0
 public ApprovalController(IDoctorsService doctorsService)
 {
     this.doctorsService = doctorsService;
 }
 public AppointmentsController(IDoctorsService doctorsService, IAppointmentsService appointmentsService)
 {
     this.doctorsService = doctorsService;
     this.appointmentsService = appointmentsService;
 }