Пример #1
0
 public MedicineService(medicalShopContext context)
 {
     _context = context;
 }
Пример #2
0
        //private readonly medicalShopContext _con = new medicalShopContext(new DbContextOptions<medicalShopContext>());


        public OrderService(medicalShopContext context)
        {
            _context = context;
        }
 public OrdersController(medicalShopContext context)
 {
     _context = context;
 }
 public MedicinesController(medicalShopContext context)
 {
     _context = context;
 }