public void TestInitialze() { this.listCustomer = new List <Customer>(); this.happyBuyRepositoryMock = new Mock <IHappyBuyRepository>(); this.hBCustomerBLMock = new Mock <IHBCustomerBL>(); this.hBCustomerBL = this.hBCustomerBLMock.Object; this.dictionary = new Dictionary <string, object>(); }
/// <summary> /// Initializes a new instance of the <see cref="SecurityController"/> class. /// </summary> /// <param name="devHappyBuyBL">Interface Injection.</param> public SecurityController(IHBCustomerBL devHappyBuyBL) { this.devHappyBuyBL = devHappyBuyBL; }
/// <summary> /// Initializes a new instance of the <see cref="AuthenticController"/> class. /// </summary> /// <param name="config">Dependency Injection.</param> /// <param name="devHappyBuyBL">Dependency Injection for Customer.</param> /// <param name="hBAdminBL">Dependency Injection for Admin.</param> public AuthenticController(IConfiguration config, IHBCustomerBL devHappyBuyBL, IHBAdminBL hBAdminBL) { this.config = config; this.devHappyBuyBL = devHappyBuyBL; this.hBAdminBL = hBAdminBL; }
/// <summary> /// Initializes a new instance of the <see cref="CustomerController"/> class. /// </summary> /// <param name="devHappyBuyBL">Interface Injection.</param> public CustomerController(IHBCustomerBL devHappyBuyBL) { this.devHappyBuyBL = devHappyBuyBL; }