public void TestInitialze() { this.devHappyBuyDALMock = new Mock <IDevHappyBuyDAL>(); this.happyBuyRepositoryMock = new Mock <IHappyBuyRepository>(); this.happyBuyRepository = this.happyBuyRepositoryMock.Object; this.dictionary = new Dictionary <string, object>(); this.listCustomer = new List <Customer>(); }
/// <summary> /// Initializes a new instance of the <see cref="HBCartBL"/> class. /// </summary> /// <param name="happyBuyRepository">Dependency Injection.</param> public HBCartBL(IHappyBuyRepository happyBuyRepository) { this.happyBuyRepository = happyBuyRepository; }
/// <summary> /// Initializes a new instance of the <see cref="HBAdminBL"/> class. /// </summary> /// <param name="happyBuyRepository">Interface Injection.</param> public HBAdminBL(IHappyBuyRepository happyBuyRepository) { this.happyBuyRepository = happyBuyRepository; }
/// <summary> /// Initializes a new instance of the <see cref="HBProductBL"/> class. /// </summary> /// <param name="happyBuyRepository">Dependency Injection.</param> public HBProductBL(IHappyBuyRepository happyBuyRepository) { this.happyBuyRepository = happyBuyRepository; }
/// <summary> /// Initializes a new instance of the <see cref="HBOrderBL"/> class. /// </summary> /// <param name="happyBuyRepository">Repository Injection.</param> public HBOrderBL(IHappyBuyRepository happyBuyRepository) { this.happyBuyRepository = happyBuyRepository; }
/// <summary> /// Initializes a new instance of the <see cref="HBCustomerBL"/> class. /// </summary> /// <param name="happyBuyRepository">Interface Injection.</param> public HBCustomerBL(IHappyBuyRepository happyBuyRepository) { this.happyBuyRepository = happyBuyRepository; }