示例#1
0
 public DrugService(IConfirmedDrugRepository confirmedDrugRepository, IUnconfirmedDrugRepository unconfirmedDrugRepository, IDrugInRoomRepository drugInRoomRepository)
 {
     _confirmedDrugRepository   = confirmedDrugRepository;
     _unconfirmedDrugRepository = unconfirmedDrugRepository;
     _drugInRoomRepository      = drugInRoomRepository;
 }
示例#2
0
 public DrugInRoomService(IDrugInRoomRepository drugInRoomRepository, IDrugService drugService)
 {
     _drugInRoomRepository = drugInRoomRepository;
     _drugService          = drugService;
 }