コード例 #1
0
 public TaiKhoanController(ITaiKhoanRepository repo, IConfiguration config, IMapper mapper)
 {
     _config     = config;
     _repo       = repo;
     _mapper     = mapper;
     _entityName = "tài khoản";
 }
コード例 #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 QLTaiKhoanController(ITaiKhoanRepository taikhoanRepository, ITinhTrangTaiKhoanRepository tttkRespository,
     INhomNguoiDungRepository nhomnguoidungRespository)
 {
     this._taikhoanRepository = taikhoanRepository;
        this._nhomnguoidungRespository = nhomnguoidungRespository;
     this._tttkRespository = tttkRespository;
 }
コード例 #4
0
 private TaiKhoanPresenter(ITaiKhoanForm _view, ITaiKhoanRepository _repository, IModelStateWraper _state)
 {
     state           = _state;
     view            = _view;
     repository      = _repository;
     _view.Presenter = this;
 }
コード例 #5
0
 public ToChucController(IToChucRepository tochucRepository,
     ILoaiHinhToChucRepository loaihinhtochucRepository,
     ITaiKhoanRepository taikhoanRepository,
     IFileStore fileStore)
 {
     this._tochucRepository = tochucRepository;
     this._loaihinhtochucRepository = loaihinhtochucRepository;
     this._taikhoanRepository = taikhoanRepository;
     this._fileStore = fileStore;
 }
コード例 #6
0
 public QLGiayPhepController(IToChucRepository tochucRepository, ITaiKhoanRepository taikhoanRepository,
     IHoSoGiayPhepRepository gphdRepository, ITinhTrangGiayPhepRepository ttgpRepository,
     IDangKyHoatDongRepository dkhdRespository, IHoatDongRepository hoatdongRepository,
     INangLucKeKhaiRespository nanglucRespository)
 {
     this._tochucRepository = tochucRepository;
     this._taikhoanRepository = taikhoanRepository;
     this._gphdRepository = gphdRepository;
     this._ttgpRepository = ttgpRepository;
     this._dkhdRespository = dkhdRespository;
     this._hoatdongRespository = hoatdongRepository;
        this._nanglucRespository = nanglucRespository;
       // this._bchdRespository = bchdRespository;
 }
コード例 #7
0
ファイル: GiaoVienService.cs プロジェクト: vqthinh/QLSV
 public GiaoVienService()
 {
     _taiKhoanRepository = UnitOfWork.Repository <TaiKhoan>() as ITaiKhoanRepository;
 }
コード例 #8
0
 public TaiKhoanService(ITaiKhoanRepository taiKhoanRepository, IUnitOfWork unitOfWork)
 {
     _taiKhoanRepository = taiKhoanRepository;
     _unitOfWork         = unitOfWork;
 }
コード例 #9
0
 public TaiKhoanServices(ITaiKhoanRepository taiKhoanRepository)
 {
     _taiKhoanRepository = taiKhoanRepository;
     //_httpContext = httpContextAccessor.HttpContext;
 }
コード例 #10
0
 public SinhVienService()
 {
     _sinhVienRepository     = UnitOfWork.Repository <SinhVien>() as ISinhVienRepository;
     _diemRenLuyenRepository = UnitOfWork.Repository <DiemRenLuyen>() as IDiemRenLuyenRepository;
     _taiKhoanRepository     = UnitOfWork.Repository <TaiKhoan>() as ITaiKhoanRepository;
 }
コード例 #11
0
 public RegisterController(ITaiKhoanRepository tkRepo, IMapper mapper)
 {
     _tkRepo = tkRepo;
     _mapper = mapper;
 }
コード例 #12
0
 public TaiKhoanBusiness(ITaiKhoanRepository res, IConfiguration configuration)
 {
     Secret = configuration["AppSettings:Secret"];
     _res   = res;
 }
コード例 #13
0
 public TaiKhoanController(ITaiKhoanRepository taikhoanRepository, IFormsAuthenticationService formService, IToChucRepository tochucRepository)
 {
     _TaiKhoanRepository = taikhoanRepository;
     _FormsService = formService;
     _ToChucRepository = tochucRepository;
 }
コード例 #14
0
 public TaiKhoanController(ITaiKhoanRepository taiKhoanRepository)
 {
     this.taiKhoanRepository = taiKhoanRepository;
 }
コード例 #15
0
 public LoginController(ITaiKhoanRepository tkRepo, IMapper mapper)
 {
     _tkRepo = tkRepo;
     _mapper = mapper;
 }
コード例 #16
0
ファイル: TaiKhoanService.cs プロジェクト: vqthinh/QLSV
 public TaiKhoanService()
 {
     _taiKhoanRepository = UnitOfWork.Repository <TaiKhoan>() as ITaiKhoanRepository;
     _sinhVienRepository = UnitOfWork.Repository <SinhVien>() as ISinhVienRepository;
 }