예제 #1
0
 public ThongKeController(IThongKe _IThongKe, IDonHang _IDonHang, IFSanpham _IFSanPham, IConfiguration configuration)
 {
     IThongKe      = _IThongKe;
     IDonHang      = _IDonHang;
     IFSanPham     = _IFSanPham;
     Configuration = configuration;
 }
예제 #2
0
 static thongkeService()
 {
     repository = new ThongKe();
 }
예제 #3
0
 public ThongKePresenter(IThongKe _view, IThongKeRepository _repository)
 {
     this.view       = _view;
     repository      = _repository;
     _view.Presenter = this;
 }
예제 #4
0
 public ThongKePresenter(IThongKe _view) : this(_view, new ThongKeRepository())
 {
 }