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;
 }
Exemple #2
0
 public HealthParametersController(ApplicationDbContext db, IHealthParametersService healthParametersService)
 {
     this.db = db;
     this.healthParametersService = healthParametersService;
 }