public AdminController(ISanPhamService sanPhamService, IDonHangService donHangService, INhaCungCapService nhaCungCapService, INhaSanXuatService nhaSanXuatService, IThongSoService thongSoService, IAnhSanPhamService anh, IThongSoKiThuatService thongSoKiThuatService) { _spService = sanPhamService; _dhService = donHangService; _nccService = nhaCungCapService; _nsxService = nhaSanXuatService; _tsService = thongSoService; _aspService = anh; _tsktService = thongSoKiThuatService; }
public SanPhamController(IMobileShopRepository shopRepo, ISanPhamService sanPhamService, IThongSoKiThuatService thongSoKiThuatService) { _shopRepo = shopRepo; _sanPhamService = sanPhamService; _thongSoKiThuatService = thongSoKiThuatService; }