Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ImmunizationFactory"/> class.
 /// </summary>
 /// <param name="immunizationRepository">The immunization repository.</param>
 /// <param name="lookupValueRepository">The lookup value repository.</param>
 public ImmunizationFactory(
     IImmunizationRepository immunizationRepository,
     ILookupValueRepository lookupValueRepository )
 {
     _immunizationRepository = immunizationRepository;
     _lookupValueRepository = lookupValueRepository;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ImmunizationFactory"/> class.
 /// </summary>
 /// <param name="immunizationRepository">The immunization repository.</param>
 /// <param name="lookupValueRepository">The lookup value repository.</param>
 public ImmunizationFactory(
     IImmunizationRepository immunizationRepository,
     ILookupValueRepository lookupValueRepository)
 {
     _immunizationRepository = immunizationRepository;
     _lookupValueRepository  = lookupValueRepository;
 }
Ejemplo n.º 3
0
 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();
 }
Ejemplo n.º 4
0
 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();
 }
Ejemplo n.º 5
0
 public ImmunizationService(IImmunizationRepository repo)
 {
     this.repository = repo;
 }