public MBPatientDiagnosisController(PatientsContext context)
 {
     _context = context;
 }
 public KAPatientController(PatientsContext context)
 {
     _context = context;
 }
Example #3
0
 public AYConcentrationUnitController(PatientsContext context)
 {
     _context = context;
 }
Example #4
0
 // 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;
 }
Example #8
0
 public ASPatientTreatmentController(PatientsContext context)
 {
     _context = context;
 }
Example #9
0
 public PatientsController(PatientsContext context, IWebHostEnvironment webHostEnvironment)
 {
     this.context            = context;
     this.webHostEnvironment = webHostEnvironment;
 }
 public PatientsController(PatientsContext patientsContext)
 {
     _patientsContext = patientsContext;
     _patientsContext.Database.EnsureCreated();
 }
Example #11
0
 /// <summary>
 /// Конструктор контроллера.
 /// </summary>
 /// <param name="patientContext">Контекст БД с пациентами и консультациями.</param>
 public PatientsApiController(PatientsContext patientContext, ILogger <PatientsApiController> logger)
 {
     this.patientContext = patientContext;
     this.logger         = logger;
 }
Example #12
0
 public DrugLogic(PatientsContext patientsContext)
 {
     _patientsContext = patientsContext;
 }
Example #13
0
 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;
 }
Example #15
0
 public KYConcentrationUnit(PatientsContext context)
 {
     _context = context;
 }
Example #16
0
 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");
 }
Example #20
0
 public IGUCountryController(PatientsContext context)
 {
     _context = context;
 }
 public ATMedicationsController(PatientsContext context)
 {
     _context = context;
 }