public ChiTietSanPham(ISanPhamService sanPhamService, IDanhMucService danhMucService) { _sanPhamService = sanPhamService; _danhMucService = danhMucService; InitializeComponent(); }
public MainForm(IDanhMucService danhMucService, IServiceProvider serviceProvider) { _danhMucService = danhMucService; _serviceProvider = serviceProvider; InitializeComponent(); }