コード例 #1
0
 public LieuTrinhService(
     IDataRepository <LieuTrinh> lieutrinhRepository,
     IDataRepository <Thuoc> thuocRepository,
     IThuocService thuocService,
     IUnitOfWork unitOfWork, IMapper mapper) : base(unitOfWork)
 {
     _lieutrinhRepository = lieutrinhRepository;
     _thuocRepository     = thuocRepository;
     _thuocService        = thuocService;
     _mapper = mapper;
 }
コード例 #2
0
 public ThuocDieuTriService(
     IDataRepository <ThuocDieuTri> thuocdieutriRepository,
     IDataRepository <Thuoc> thuocRepository,
     IThuocService thuocService,
     IBenhService benhService,
     IUnitOfWork unitOfWork,
     IMapper mapper) : base(unitOfWork)
 {
     _unitOfWork             = unitOfWork;
     _thuocRepository        = thuocRepository;
     _thuocdieutriRepository = thuocdieutriRepository;
     _thuocService           = thuocService;
     _benhService            = benhService;
     _mapper = mapper;
 }
コード例 #3
0
ファイル: BaseController.cs プロジェクト: Redfield1947/PM03
 public BaseController(IBenhAnService _benhanService,
                       ICTDTService _ctdtService,
                       ICTHDService _cthdService,
                       IDInhNghiaGiaTriService _dngtService,
                       IDonThuocService _donthuocService,
                       IGiaTriMacDinhService _gtmdService,
                       IHoaDonService _hoadonService,
                       IBenhNhanService _benhnhanService,
                       ILichKhamService _lichkhamService,
                       INguoiDungService _nguoidungService,
                       IThuocService _thuocService)
 {
     this._benhanService    = _benhanService;
     this._ctdtService      = _ctdtService;
     this._cthdService      = _cthdService;
     this._dngtService      = _dngtService;
     this._donthuocService  = _donthuocService;
     this._gtmdService      = _gtmdService;
     this._hoadonService    = _hoadonService;
     this._benhnhanService  = _benhnhanService;
     this._lichkhamService  = _lichkhamService;
     this._nguoidungService = _nguoidungService;
     this._thuocService     = _thuocService;
 }
コード例 #4
0
 public CTHDController(IBenhAnService _benhanService, ICTDTService _ctdtService, ICTHDService _cthdService, IDInhNghiaGiaTriService _dngtService, IDonThuocService _donthuocService, IGiaTriMacDinhService _gtmdService, IHoaDonService _hoadonService, IBenhNhanService _benhnhanService, ILichKhamService _lichkhamService, INguoiDungService _nguoidungService, IThuocService _thuocService) : base(_benhanService, _ctdtService, _cthdService, _dngtService, _donthuocService, _gtmdService, _hoadonService, _benhnhanService, _lichkhamService, _nguoidungService, _thuocService)
 {
 }
コード例 #5
0
 public ThuocDieuTriController(IThuocDieuTriService thuocdieutriService, IThuocService thuocService)
 {
     _thuocdieutriService = thuocdieutriService;
     _thuocService        = thuocService;
 }
コード例 #6
0
 public ThuocController(
     IThuocService thuocService)
 {
     _thuocService = thuocService;
 }
コード例 #7
0
 public ThuocServiceView(IThuocService service)
 {
     _service = service;
 }
コード例 #8
0
 public ThuocController(IThuocServiceView serviceView, IThuocService service, IMapper mapper)
 {
     _serviceView = serviceView;
     _service     = service;
     _mapper      = mapper;
 }