Exemple #1
0
 public HoadonController(IHoadonService hoadonService, IUserService userService, ICthdService cthdService, ICtGiohangService ctGiohangService, ISanphamService sanphamService)
 {
     _hoadonService    = hoadonService;
     _userService      = userService;
     _cthdService      = cthdService;
     _ctGiohangService = ctGiohangService;
     _sanphamService   = sanphamService;
 }
Exemple #2
0
 public WebmasterController(IHoadonService hoadonService, IUserService userService, ICthdService cthdService, ICtGiohangService ctGiohangService, ISanphamService sanphamService, IHoadonmuatinService hoadonmuatinService, IFunctionService functionService)
 {
     _hoadonService       = hoadonService;
     _userService         = userService;
     _cthdService         = cthdService;
     _ctGiohangService    = ctGiohangService;
     _sanphamService      = sanphamService;
     _hoadonmuatinService = hoadonmuatinService;
     _functionService     = functionService;
 }
Exemple #3
0
 public KhachHangController(ISanphamService sanphamService, IUserService userService)
 {
     _sanphamService = sanphamService;
     _userService    = userService;
 }
Exemple #4
0
 public SanphamController(ICtGiohangService ctGiohangService, ISanphamService sanphamService, IUserService userService)
 {
     _sanphamService   = sanphamService;
     _userService      = userService;
     _ctGiohangService = ctGiohangService;
 }