public MedicinehistoriesController(IMedicinesHistoryRepository medicinesHistoryRepository, IVisitsRepository visitsRepository, IOldMedicinesHistoryRepository oldMedicinesHistoryRepository, AuthorizationService authorizationService) { _repository = medicinesHistoryRepository; _visitsRepository = visitsRepository; _oldMedicinesHistoryRepository = oldMedicinesHistoryRepository; _authorizationService = authorizationService; }
public AuthorizationService(IIllnessesHistoryRepository illnessesHistoryRepository, IVisitsRepository visitsRepository, IReservationsRepository reservationsRepository) { _visitsRepository = visitsRepository; _illnessesHistoryRepository = illnessesHistoryRepository; _reservationsRepository = reservationsRepository; }
public ExperienceDataFactory(IVisitsRepository visitsRepository, IPersonalInfoRepository personalInfoRepository, IOnsiteBehaviorRepository onsiteBehaviorRepository, IReferralRepository referralRepository, ITrackerService trackerService) { this.visitsRepository = visitsRepository; this.personalInfoRepository = personalInfoRepository; this.onsiteBehaviorRepository = onsiteBehaviorRepository; this.referralRepository = referralRepository; this.trackerService = trackerService; }
public VisitController(IUsersRepository usersRepository, IServicesRepository servicesRepository, IDoctorsRepository doctorsRepository, ISchedulesRepository schedulesRepository, IVisitsRepository visitsRepository, ScheduleService scheduleService) { this.usersRepository = usersRepository; this.servicesRepository = servicesRepository; this.doctorsRepository = doctorsRepository; this.schedulesRepository = schedulesRepository; this.visitsRepository = visitsRepository; this.scheduleService = scheduleService; }
public IllnesseshistoryController(IIllnessesHistoryRepository context, IVisitsRepository visitsRepository, IOldIllnessesHistoryRepository oldIllnessesHistoryRepository, IReservationsRepository reservationsRepository, AuthorizationService authorizationService) { _repository = context; _visitsRepository = visitsRepository; _oldIllnessesHistoryRepository = oldIllnessesHistoryRepository; _reservationsRepository = reservationsRepository; _authorizationService = authorizationService; }
public VisitsController(IVisitsRepository repository, ITreatmentsOnVisitRepository treatmentsOnVisitRepository, IDoctorsRepository doctorsRepository, IReservationsRepository reservationsRepository, AuthorizationService authorizationService) { _repository = repository; _treatmentsOnVisitRepository = treatmentsOnVisitRepository; _doctorsRepository = doctorsRepository; _reservationsRepository = reservationsRepository; _authorizationService = authorizationService; }
public IllnessHistoryValidator(IIllnessesHistoryRepository illHistRepo, IPatientsRepository patRepo, IIllnessesRepository illRepo, IVisitsRepository visitRepo, IHttpContextAccessor httpContext) { RuleFor(x => x.IllnessId) .Cascade(CascadeMode.Stop) .NotEmpty().WithMessage("Pole nie może być puste.") .SetValidator(new BaseIdValidator <Illness>(illRepo, "Choroba nie istnieje.")); RuleFor(x => x.VisitId) .Cascade(CascadeMode.Stop) .NotEmpty().WithMessage("Pole nie może być puste.") .Must(x => visitRepo.Exists(x)).WithMessage("Wizyta nie istnieje."); RuleFor(x => x.Description) .MaximumLength(1023).WithMessage("Maksymalna długość wynosi {MaxLength} znaków, wpisano {TotalLength}."); }
public TreatmentOnVisitValidator(ITreatmentsRepository treatmentsRepository, IVisitsRepository visitsRepository) { RuleFor(x => x.TreatmentId) .Cascade(CascadeMode.Stop) .NotEmpty().WithMessage("Pole nie może być puste.") .SetValidator(new BaseIdValidator <Treatment>(treatmentsRepository, "Zabieg nie istnieje.")); RuleFor(x => x.VisitId) .Cascade(CascadeMode.Stop) .NotEmpty().WithMessage("Pole nie może być puste.") .Must(visitId => visitsRepository.Exists(visitId)).WithMessage("Wizyta nie istnieje."); RuleFor(x => x.Description) .Cascade(CascadeMode.Stop) .MaximumLength(511).WithMessage("Maksymalna długość wynosi {MaxLength} znaków, wpisano {TotalLength}."); }
public PatientController(IUserRepository userRepository, IVisitsRepository vistisRepository, IChatRepository chatRepository) { _userRepository = userRepository; _vistisRepository = vistisRepository; _chatRepository = chatRepository; }
public TreatmentonvisitsController(ITreatmentsOnVisitRepository repository, IVisitsRepository visitsRepository, AuthorizationService authorizationService) { _repository = repository; _visitsRepository = visitsRepository; _authorizationService = authorizationService; }
public VisitsController(IVisitsRepository visitsRepository) { this.visitsRepository = visitsRepository; }
public UserVisitsController(ILogger <GeographyController> logger, IVisitsRepository visitsRepository, IGeographyRepository geographyRepository) { this._logger = logger; this._visitsRepository = visitsRepository; this._geographyRepository = geographyRepository; }
public ScheduleService(IVisitsRepository visitsRepsitory, ISchedulesRepository schedulesRepository) { this.visitsRepsitory = visitsRepsitory; this.schedulesRepository = schedulesRepository; }
public VisitsController(IVisitsRepository <VisitModel> repository) { _VisitsRepository = repository; }
public VisitController(IVisitsRepository visitRepository) { _visitRepository = visitRepository; }
public DoctorController(ApplicationDbContext context, IVisitsRepository vistisRepository, IChatRepository chatRepository, IUserRepository userRepository) { _vistisRepository = vistisRepository; _chatRepository = chatRepository; _userRepository = userRepository; }
public VisitsController(IVisitsRepository visitRepo) { visitRepository = visitRepo; }