public MBPatientDiagnosisController(PatientsContext context) { _context = context; }
public KAPatientController(PatientsContext context) { _context = context; }
public AYConcentrationUnitController(PatientsContext context) { _context = context; }
// Constructor of the Controller class public A1DiagnosisCategoriesController(PatientsContext context) { _context = context; }
public NDPatientDiagnosisController(PatientsContext context) { // context is provided by Dependency Injection defined in Startup.cs _context = context; }
/// <summary> /// Конструктор контроллера. /// </summary> /// <param name="logger">Логгер.</param> /// <param name="patientContext">Контекст БД с пациентами и консультациями.</param> public ConsultationController(ILogger <ConsultationController> logger, PatientsContext patientContext) { this.logger = logger; this.patientContext = patientContext; }
public YKCountriesController(PatientsContext context) { _context = context; }
public ASPatientTreatmentController(PatientsContext context) { _context = context; }
public PatientsController(PatientsContext context, IWebHostEnvironment webHostEnvironment) { this.context = context; this.webHostEnvironment = webHostEnvironment; }
public PatientsController(PatientsContext patientsContext) { _patientsContext = patientsContext; _patientsContext.Database.EnsureCreated(); }
/// <summary> /// Конструктор контроллера. /// </summary> /// <param name="patientContext">Контекст БД с пациентами и консультациями.</param> public PatientsApiController(PatientsContext patientContext, ILogger <PatientsApiController> logger) { this.patientContext = patientContext; this.logger = logger; }
public DrugLogic(PatientsContext patientsContext) { _patientsContext = patientsContext; }
public NDConcentrationUnitController(PatientsContext context) { // context is provided by Dependency Injection defined in Startup.cs _context = context; }
// the context maintains the state of single module during the request life cycle public ASDispensingUnitController(PatientsContext context) { _context = context; }
public KYConcentrationUnit(PatientsContext context) { _context = context; }
public MBMedicationController(PatientsContext context) { _context = context; }
/// <summary> /// Constructor of Medication Type controller /// </summary> /// <param name="context">Patients Context</param> public JJMedicationTypeController(PatientsContext context) { _context = context; }
//The constructor of this controller that initializes the _context variable to the context variable in the PatientsContext class public MBDiagnosisCategoryController(PatientsContext context) { _context = context; }
/// <summary> /// Конструктор контроллера. /// </summary> /// <param name="logger">Объект логгера.</param> /// <param name="config">Конфигурация.</param> /// <param name="patientContext">Контекст БД с пациентами и консультациями.</param> public HomeController(ILogger <HomeController> logger, IConfiguration config, PatientsContext patientContext) { this.logger = logger; this.config = config; this.patientContext = patientContext; PatientsPageSize = config.GetValue <int>("PaginationSettings:PatientsPageSize"); }
public IGUCountryController(PatientsContext context) { _context = context; }
public ATMedicationsController(PatientsContext context) { _context = context; }