public HealthDosierController(
     ApplicationDbContext db,
     IDiseasesService diseasesService,
     IAllergiesService allergiesService,
     IHealthParametersService healthParametersService,
     ISymptomsServices symptomsServices,
     IHealthDosiersService healthDosiersService,
     IWorkOutsService workOutsService,
     IFoodRegimensService foodRegimensService)
 {
     this.db = db;
     this.SystemsForTests         = this.db.BodySystems.Select(b => b.Name).ToList();
     this.diseasesService         = diseasesService;
     this.allergiesService        = allergiesService;
     this.healthParametersService = healthParametersService;
     this.symptomsServices        = symptomsServices;
     this.healthDosiersService    = healthDosiersService;
     this.workOutsService         = workOutsService;
     this.foodRegimensService     = foodRegimensService;
 }
Ejemplo n.º 2
0
 public PersonAllergiesService(HealthDbContext db, IAllergiesService allergiesService)
 {
     this.db = db;
     this.allergiesService = allergiesService;
 }
Ejemplo n.º 3
0
 public AllergicsController(IAllergiesService allergiesService)
 {
     _allergiesService = allergiesService;
 }
Ejemplo n.º 4
0
 public AllergiesController(ApplicationDbContext db, IAllergiesService allergiesService)
 {
     this.db = db;
     this.allergiesService = allergiesService;
 }
Ejemplo n.º 5
0
 public AllergiesController(IAllergiesService allergiesService)
 {
     this.allergiesService = allergiesService;
 }