예제 #1
0
 public CreateCommandHandler(IQuocGiaRepository repository, IUnitOfWork unitOfWork, IMapper mapper, IAuthenticatedUserService authenticatedUser)
 {
     _repository        = repository;
     _unitOfWork        = unitOfWork;
     _mapper            = mapper;
     _authenticatedUser = authenticatedUser;
 }
예제 #2
0
 internal LibraryService(IBenhNhanRepository benhNhanRepository, ICanLamSanRepository canLamSanRepository, IChiTietCLSRepository chiTietCLSRepository, IChiTietDonThuocRepository chiTietDonThuocRepository, IChiTietNhapVatTuRepository chiTietNhapVatTuRepository, IChiTietNhapThuocRepository chiTietNhapThuocRepository, IChucDanhRepository chucDanhRepository, IChucVuRepository chucVuRepository, IDichVuCLSRepository dichVuCLSRepository, IDonThuocRepository donThuocRepository, IDonViTinhRepository donViTinhRepository, IHangSanXuatRepository hangSanXuatRepository, IHinhThucKhamRepository hinhThucKhamRepository, IKhoaRepository khoaRepository, ILoaiCanLamSangRepository loaiCanLamSanRepository, ILoaiThuocRepository loaiThuocRepository, INhaCungCapRepository nhaCungCapRepository, INhanVienRepository nhanVienRepository, IPhanQuyenRepository phanQuyenRepository, IPhieuKhamRepository phieuKhamRepository, IPhieuNhapRepository phieuNhapRepository, IQuocGiaRepository quocGiaRepository, ITaiKhoanRepository taiKhoanRepository, IThuocRepository thuocRepository, IVatTuYTeRepository vatTuYTeRepository)
 {
     this.benhNhanRepository         = benhNhanRepository;
     this.canLamSanRepository        = canLamSanRepository;
     this.chiTietCLSRepository       = chiTietCLSRepository;
     this.chiTietDonThuocRepository  = chiTietDonThuocRepository;
     this.chiTietNhapVatTuRepository = chiTietNhapVatTuRepository;
     this.chiTietNhapThuocRepository = chiTietNhapThuocRepository;
     this.chucDanhRepository         = chucDanhRepository;
     this.chucVuRepository           = chucVuRepository;
     this.dichVuCLSRepository        = dichVuCLSRepository;
     this.donThuocRepository         = donThuocRepository;
     this.donViTinhRepository        = donViTinhRepository;
     this.hangSanXuatRepository      = hangSanXuatRepository;
     this.hinhThucKhamRepository     = hinhThucKhamRepository;
     this.khoaRepository             = khoaRepository;
     this.loaiCanLamSanRepository    = loaiCanLamSanRepository;
     this.loaiThuocRepository        = loaiThuocRepository;
     this.nhaCungCapRepository       = nhaCungCapRepository;
     this.nhanVienRepository         = nhanVienRepository;
     this.phanQuyenRepository        = phanQuyenRepository;
     this.phieuKhamRepository        = phieuKhamRepository;
     this.phieuNhapRepository        = phieuNhapRepository;
     this.quocGiaRepository          = quocGiaRepository;
     this.taiKhoanRepository         = taiKhoanRepository;
     this.thuocRepository            = thuocRepository;
     this.vatTuYTeRepository         = vatTuYTeRepository;
 }
예제 #3
0
 public UpdateCommandHandler(IQuocGiaRepository repository, IUnitOfWork unitOfWork, IMapper mapper)
 {
     _repository = repository;
     _unitOfWork = unitOfWork;
     _mapper     = mapper;
 }
예제 #4
0
 public GetCategoryByIdQueryHandler(IQuocGiaRepository repository, IMapper mapper)
 {
     _repository = repository;
     _mapper     = mapper;
 }
 public GetAllQueryHandler(IQuocGiaRepository repository)
 {
     _repository = repository;
 }
 public DeleteCommandHandler(IQuocGiaRepository repository, IUnitOfWork unitOfWork)
 {
     _repository = repository;
     _unitOfWork = unitOfWork;
 }