public DiseasesSymptomsController( ApplicationDbContext db, IDiseasesService diseasesService, ISymptomsServices symptomsServices) { this.db = db; this.diseasesService = diseasesService; this.symptomsServices = symptomsServices; }
public SymptomsController( ApplicationDbContext db, ISymptomsServices symptomsService, IBodySystemsService bodySystemsService) { this.db = db; this.symptomsService = symptomsService; this.bodySystemsService = bodySystemsService; }
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; }