public AllergyUserService(IAllergyUserRepository allergyUserRepository, IAllergyRepository allergyRepository, IUserRepository userRepository, IUnitOfWork unitOfWork) { _allergyUserRepository = allergyUserRepository; _allergyRepository = allergyRepository; _userRepository = userRepository; _unitOfWork = unitOfWork; }
/// <summary> /// Constructor /// </summary> public AllergyService(IAllergyRepository allergyRepository) { if (allergyRepository == null) { throw new ArgumentNullException(nameof(allergyRepository)); } this.allergyRepository = allergyRepository; }
/// <summary> /// Constructor /// </summary> public StudentService(IStudentRepository repository, IAllergyService allergyService, IAllergyRepository allergyRepository) { if (repository == null) { throw new ArgumentNullException("repository"); } this.repository = repository; this.allergyRepository = allergyRepository; }
public AdminViewModel() { _productRepository = new ProductRepository(); _categoryRepository = new CategoryRepository(); _locationRepository = new LocationRepository(); _serviceRepository = new ServiceRepository(); _allergyRepository = new AllergyRepository(); _immunizationRepository = new ImmunizationRepository(); _medicationRepository = new MedicationRepository(); _templateRepository = new TemplateRepository(); }
public PatientsController(IPatientRepository patients, IPatientDetailsRepository patientDetails, IAllergyRepository allergies, IMedicationRepository medications, IDiagnosisRepository diagnoses, IClinicalNoteRepository clinicalNotes, IContactRepository contacts) { this.Patients = patients; this.PatientDetails = patientDetails; this.Allergies = allergies; this.Medications = medications; this.Diagnoses = diagnoses; this.ClinicalNotes = clinicalNotes; this.Contacts = contacts; }
public DeleteAllergyHandler(IAllergyRepository repository) { _repository = repository; }
public AllergyManager(IAllergyRepository allergyRepository) { _allergyRepository = allergyRepository; }
public GetAllergyByIdHandler(IAllergyRepository repository) { _repository = repository; }
public void setAllergy(IAllergyRepository allergyRepository) { this.allergyRepository = allergyRepository; }
public CreateAllergyHandler(IAllergyRepository repository) { _repository = repository; }
public AllergyController(IAllergyRepository allergyRepository) { this._allergyRepository = allergyRepository; }
public AllergyController(IUserRepository userRepository, IAllergyRepository allergyRepository) { _userRepository = userRepository; _allergyRepository = allergyRepository; }
public GetAllAllergiesHandler(IAllergyRepository repository) { _repository = repository; }
/// <summary> /// Initializes a new instance of the <see cref="AllergyFactory"/> class. /// </summary> /// <param name="allergyRepository">The allergy repository.</param> public AllergyFactory( IAllergyRepository allergyRepository ) { _allergyRepository = allergyRepository; }
public AllergyService(IAllergyRepository allergyRepository) { this.allergyRepository = allergyRepository; }
public AllergyService(IAllergyRepository allergyRepository, IUnitOfWork unitOfWork) { _allergyRepository = allergyRepository; _unitOfWork = unitOfWork; }
/// <summary> /// Initializes a new instance of the <see cref="AllergyFactory"/> class. /// </summary> /// <param name="allergyRepository">The allergy repository.</param> public AllergyFactory(IAllergyRepository allergyRepository) { _allergyRepository = allergyRepository; }