Пример #1
0
        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>();
        }
Пример #2
0
 /// <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;
 }
Пример #3
0
 /// <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;
 }
Пример #4
0
 /// <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;
 }