Example #1
0
 public PhieuKhamServiceView(IPhieuKhamService service, INhanVienService NVService, IBenhNhanService BNService, IBenhService BService, IMapper mapper)
 {
     _service   = service;
     _NVService = NVService;
     _BNService = BNService;
     _BService  = BService;
     _mapper    = mapper;
 }
 public TrieuChungService(
     IDataRepository <TrieuChung> trieuchungRepository,
     IDataRepository <Benh> benhRepository,
     IDataRepository <TrieuChungBenh> trieuchungbenhRepository,
     IBenhService benhService,
     IUnitOfWork unitOfWork, IMapper mapper) : base(unitOfWork)
 {
     _trieuchungRepository     = trieuchungRepository;
     _benhRepository           = benhRepository;
     _benhService              = benhService;
     _trieuchungbenhRepository = trieuchungbenhRepository;
     _mapper = mapper;
 }
 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;
 }
Example #4
0
 public BenhController(IBenhServiceView serviceView, IBenhService service)
 {
     _service     = service;
     _serviceView = serviceView;
 }
Example #5
0
 public BenhServiceView(IBenhService service)
 {
     _service = service;
 }
 public BenhController(
     IBenhService benhService)
 {
     _benhService = benhService;
 }