예제 #1
0
 public OrderController(IApothecaryRepo apothecaryRepo,
                        IOrderRepo orderRepo,
                        IMedicineRepo medicineRepo,
                        ILogger <OrderController> logger,
                        ISelectService selectService)
 {
     _apothecaryRepo = apothecaryRepo;
     _orderRepo      = orderRepo;
     _medicineRepo   = medicineRepo;
     _logger         = logger;
     _selectService  = selectService;
 }
예제 #2
0
 public ApothecaryController(IApothecaryRepo repo, ILogger <ApothecaryController> logger)
 {
     _repo   = repo;
     _logger = logger;
 }
예제 #3
0
 public SelectService(IMedicineRepo medicineRepo, IApothecaryRepo apothecaryRepo, IDoctorRepo doctorRepo)
 {
     _medicineRepo   = medicineRepo;
     _apothecaryRepo = apothecaryRepo;
     _doctorRepo     = doctorRepo;
 }