Beispiel #1
0
 public DangNhapBLL(IDangNhapRepository DangNhap)
 {
     this.DangNhapRepo = DangNhap;
 }
Beispiel #2
0
 public SecuredController()
 {
     adminUow            = new AdminUnitOfWork(new HDNHD.Models.DataContexts.AdminDataContext());
     nguoiDungRepository = adminUow.Repository <NguoiDungRepository>();
     dangNhapRepository  = adminUow.Repository <DangNhapRepository>();
 }
Beispiel #3
0
 public DangNhapBLL()
 {
     DangNhapRepo = new DangNhapRepository();
 }
Beispiel #4
0
 private DangNhapPresenter(IDangNhapForm _view, IDangNhapRepository _repository)
 {
     view            = _view;
     repository      = _repository;
     _view.Presenter = this;
 }