Example #1
0
 public TaiKhoanController(ITaiKhoanRepository repo, IConfiguration config, IMapper mapper)
 {
     _config     = config;
     _repo       = repo;
     _mapper     = mapper;
     _entityName = "tài khoản";
 }
Example #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;
 }
 public QLTaiKhoanController(ITaiKhoanRepository taikhoanRepository, ITinhTrangTaiKhoanRepository tttkRespository,
     INhomNguoiDungRepository nhomnguoidungRespository)
 {
     this._taikhoanRepository = taikhoanRepository;
        this._nhomnguoidungRespository = nhomnguoidungRespository;
     this._tttkRespository = tttkRespository;
 }
Example #4
0
 private TaiKhoanPresenter(ITaiKhoanForm _view, ITaiKhoanRepository _repository, IModelStateWraper _state)
 {
     state           = _state;
     view            = _view;
     repository      = _repository;
     _view.Presenter = this;
 }
 public ToChucController(IToChucRepository tochucRepository,
     ILoaiHinhToChucRepository loaihinhtochucRepository,
     ITaiKhoanRepository taikhoanRepository,
     IFileStore fileStore)
 {
     this._tochucRepository = tochucRepository;
     this._loaihinhtochucRepository = loaihinhtochucRepository;
     this._taikhoanRepository = taikhoanRepository;
     this._fileStore = fileStore;
 }
 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;
 }
Example #7
0
 public GiaoVienService()
 {
     _taiKhoanRepository = UnitOfWork.Repository <TaiKhoan>() as ITaiKhoanRepository;
 }
Example #8
0
 public TaiKhoanService(ITaiKhoanRepository taiKhoanRepository, IUnitOfWork unitOfWork)
 {
     _taiKhoanRepository = taiKhoanRepository;
     _unitOfWork         = unitOfWork;
 }
 public TaiKhoanServices(ITaiKhoanRepository taiKhoanRepository)
 {
     _taiKhoanRepository = taiKhoanRepository;
     //_httpContext = httpContextAccessor.HttpContext;
 }
Example #10
0
 public SinhVienService()
 {
     _sinhVienRepository     = UnitOfWork.Repository <SinhVien>() as ISinhVienRepository;
     _diemRenLuyenRepository = UnitOfWork.Repository <DiemRenLuyen>() as IDiemRenLuyenRepository;
     _taiKhoanRepository     = UnitOfWork.Repository <TaiKhoan>() as ITaiKhoanRepository;
 }
Example #11
0
 public RegisterController(ITaiKhoanRepository tkRepo, IMapper mapper)
 {
     _tkRepo = tkRepo;
     _mapper = mapper;
 }
Example #12
0
 public TaiKhoanBusiness(ITaiKhoanRepository res, IConfiguration configuration)
 {
     Secret = configuration["AppSettings:Secret"];
     _res   = res;
 }
 public TaiKhoanController(ITaiKhoanRepository taikhoanRepository, IFormsAuthenticationService formService, IToChucRepository tochucRepository)
 {
     _TaiKhoanRepository = taikhoanRepository;
     _FormsService = formService;
     _ToChucRepository = tochucRepository;
 }
Example #14
0
 public TaiKhoanController(ITaiKhoanRepository taiKhoanRepository)
 {
     this.taiKhoanRepository = taiKhoanRepository;
 }
Example #15
0
 public LoginController(ITaiKhoanRepository tkRepo, IMapper mapper)
 {
     _tkRepo = tkRepo;
     _mapper = mapper;
 }
Example #16
0
 public TaiKhoanService()
 {
     _taiKhoanRepository = UnitOfWork.Repository <TaiKhoan>() as ITaiKhoanRepository;
     _sinhVienRepository = UnitOfWork.Repository <SinhVien>() as ISinhVienRepository;
 }