Beispiel #1
0
 public SpecialtyController(ICourseService courseService, IUnitOfWorkAsync unitOfWork, ISpecialtyService specialtyService, IHistoryService historyService)
 {
     _courseService    = courseService;
     _unitOfWork       = unitOfWork;
     _specialtyService = specialtyService;
     _historyService   = historyService;
 }
Beispiel #2
0
 public TaskController(ITaskService ts, IMemberService ms, ISpecialtyService ss, IPaymentService ps)
 {
     _ts = ts;
     _ms = ms;
     _ss = ss;
     _ps = ps;
 }
 public AppointmentService(
     IClinicRepository <Appointment> appointmentRepository,
     IPatientService patientService,
     ISpecialtyService specialtyService)
 {
     _appointmentRepository = appointmentRepository;
     _patientService        = patientService;
     _specialtyService      = specialtyService;
 }
Beispiel #4
0
 public UserOperations(ISpecialtyService specialtyService, IUserService userService, ILectorService lectorService, IMapper mapper, IFacultyService facultyService, ITeamService teamService)
 {
     _specialtyService = specialtyService;
     _userService      = userService;
     _teamService      = teamService;
     _mapper           = mapper;
     _lectorService    = lectorService;
     _facultyService   = facultyService;
 }
Beispiel #5
0
 public StudentController(ICourseService courseService, ISpecialtyService specialtyService, IGroupService groupService, IStudentService studentService, IUnitOfWorkAsync unitOfWork, IHistoryService historyService)
 {
     _courseService    = courseService;
     _specialtyService = specialtyService;
     _groupService     = groupService;
     _studentService   = studentService;
     _unitOfWork       = unitOfWork;
     _historyService   = historyService;
 }
Beispiel #6
0
 public DentistController(IDentistService dentistService,
                          ISpecialtyService specialtyService,
                          IClinicService clinicService,
                          IRatingService ratingService)
 {
     this._dentistService   = dentistService;
     this._specialtyService = specialtyService;
     this._clinicService    = clinicService;
     this._ratingService    = ratingService;
 }
Beispiel #7
0
 public ClinicController(IClinicService clinicService,
                         IDentistService dentistService,
                         IAppointmentService appointmentService,
                         ISpecialtyService specialtyService,
                         IRatingService ratingService)
 {
     this._clinicService      = clinicService;
     this._dentistService     = dentistService;
     this._appointmentService = appointmentService;
     this._specialtyService   = specialtyService;
     this._ratingService      = ratingService;
 }
Beispiel #8
0
        public SpecialtyTests()
        {
            var mockMapper = new MapperConfiguration(cfg =>
            {
                cfg.AddProfile(new AutoMapping());
            });

            _mapper = mockMapper.CreateMapper();
            _specialtyRepository = new Mock <ISpecialityRepository>();
            _lectorRepository    = new Mock <ILectorRepository>();
            _facultyRepository   = new Mock <IFacultyRepository>();
            _specialtyService    = new SpecialtyService(_specialtyRepository.Object, _facultyRepository.Object, _lectorRepository.Object);
            _controller          = new SpecialtyController(_specialtyService, _mapper);
        }
 public ClinicianController(IClinicianService clinicianService, UserManager <ApplicationUser> userManager, IEnrollmentService enrollmentService, IAppointmentService appointmentService, IClinicianAvailabilityService clinicianAvailabilityService, IProfileService profileService, IServiceCostService serviceCostService, IProviderCategoryService providerCategoryService, IApplicantService applicantService, ILookUpService lookUpService, IApplicantDocumentService applicantDocumentService, IExpertiseService expertiseService, IClinicianDocumentService profileDocumentService, IEmailSender emailSender, IPopulationService populationService, ISpecialtyService specialtyService, IEducationService educationService, ILanguageService languageService, IPracticeService practiceService, IOtherActivitiesService otherActivitiesService, ILogger <ApplicantController> log, IClinicService clinicService)
 {
     _clinicianService             = clinicianService;
     _enrollmentService            = enrollmentService;
     _userManager                  = userManager;
     _appointmentService           = appointmentService;
     _clinicianAvailabilityService = clinicianAvailabilityService;
     _profileService               = profileService;
     _serviceCostService           = serviceCostService;
     _providerCategoryService      = providerCategoryService;
     _applicantService             = applicantService;
     _lookUpService                = lookUpService;
     _expertiseService             = expertiseService;
     _applicantDocumentService     = applicantDocumentService;
     _profileDocumentService       = profileDocumentService;
     _emailSender                  = emailSender;
     _specialtyService             = specialtyService;
     _populationService            = populationService;
     _educationService             = educationService;
     _languageService              = languageService;
     _practiceService              = practiceService;
     _otherActivitiesService       = otherActivitiesService;
     _clinicService                = clinicService;
 }
Beispiel #10
0
 public SpecialtyServiceTests()
 {
     _specialtyService = Resolve <ISpecialtyService>();
 }
 public DoctorController(IDoctorService doctorService, ISpecialtyService specialtyService, IDoctorSpecialtyService doctorSpecialtyService)
 {
     _doctorService          = doctorService;
     _specialtyService       = specialtyService;
     _doctorSpecialtyService = doctorSpecialtyService;
 }
Beispiel #12
0
 public AdminController()
 {
     _faculty   = _creator.CreateFacultyService();
     _specialty = _creator.CreateSpecialtyService();
     _subject   = _creator.CreateSubjectService();
 }
 public SpecialtiesController(IMapper mapper, ISpecialtyService specialtyService, Logger logger) : base(mapper, specialtyService, logger)
 {
     _specialtyService = specialtyService ?? throw new NullReferenceException(nameof(specialtyService));
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SpecialtiesController"/> class.
 /// </summary>
 /// <param name="logger">Logger parameter.</param>
 /// <param name="specialtyService">Specialty service parameter.</param>
 public SpecialtiesController(ILogger <SpecialtiesController> logger, ISpecialtyService specialtyService)
 {
     this.logger           = logger;
     this.specialtyService = specialtyService;
 }
Beispiel #15
0
 public SpecialityController(ISpecialtyService ss)
 {
     _ss = ss;
 }
Beispiel #16
0
 public AccountController(IAccountService accountService, ISpecialtyService specialtyService)
 {
     this.accountService   = accountService;
     this.specialtyService = specialtyService;
 }
Beispiel #17
0
 public SpecialtyAppService(ISpecialtyService service, ISpecialtyReadRepository readRepository)
 {
     _service        = service;
     _readRepository = readRepository;
 }
Beispiel #18
0
 public SpecialtyController(ISpecialtyService specialtyService)
 {
     _specialtyService = specialtyService;
 }
Beispiel #19
0
 public SpecialtyController(ISpecialtyService specialtyService, IMapper mapper)
 {
     _specialtyService = specialtyService;
     _mapper           = mapper;
 }
Beispiel #20
0
 public HomeController(ISpecialtyService specialtyService)
 {
     this._specialtyService = specialtyService;
 }
Beispiel #21
0
 public SelectionCommitteeController()
 {
     _faculty   = _creator.CreateFacultyService();
     _specialty = _creator.CreateSpecialtyService();
     _subject   = _creator.CreateSubjectService();
 }
Beispiel #22
0
 public SpecialtiesController(IMapper mapper, ISpecialtyService specialtyService)
 {
     _mapper           = mapper;
     _specialtyService = specialtyService;
 }
Beispiel #23
0
 public void TestInitialize()
 {
     _patientService     = new PatientService(MockData.GetPatientRepository());
     _specialtyService   = new SpecialtyService(MockData.GetSpecialtyRepository());
     _appointmentService = new AppointmentService(MockData.GetAppointmentRepository(), _patientService, _specialtyService);
 }
Beispiel #24
0
 public ProductController(IProductService productService, ICategoryService categoryService, ISpecialtyService specialtyService)
 {
     this.productService   = productService;
     this.categoryService  = categoryService;
     this.specialtyService = specialtyService;
 }
 public SpecialtyController(ISpecialtyService specialtyService, ICourseService courseService, IMapper mapper)
 {
     _courseService    = courseService;
     _specialtyService = specialtyService;
     _mapper           = mapper;
 }