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;
 }
Пример #2
0
 public PersonAllergiesService(HealthDbContext db, IAllergiesService allergiesService)
 {
     this.db = db;
     this.allergiesService = allergiesService;
 }
Пример #3
0
 public AllergicsController(IAllergiesService allergiesService)
 {
     _allergiesService = allergiesService;
 }
Пример #4
0
 public AllergiesController(ApplicationDbContext db, IAllergiesService allergiesService)
 {
     this.db = db;
     this.allergiesService = allergiesService;
 }
Пример #5
0
 public AllergiesController(IAllergiesService allergiesService)
 {
     this.allergiesService = allergiesService;
 }