public AdminAccountTesting()
        {
            IConfigurationBuilder configuration = new ConfigurationBuilder();

            configuration.AddJsonFile("appsettings.json");
            _configuration   = configuration.Build();
            _adminRepository = new AdminRepository(_configuration);
            _adminBusiness   = new AdminBusiness(_adminRepository);
        }
예제 #2
0
 public AdminController(IAdminBusiness adminBusiness, IConfiguration configuration)
 {
     _adminBusiness = adminBusiness;
     _configuration = configuration;
 }
 public AdminController()
 {
     this._adminBusiness = new AdminBusiness();
     _commonRules        = new Helper();
     _httpResponse       = new Dictionary <string, string>();
 }
 public AdminController(IAdminBusiness adminDataModel, IVacationControlBusiness vacationControlDataModel)
 {
     _adminBusiness = adminDataModel;
     _VCBusiness    = vacationControlDataModel;
 }
 public AdminController(IAdminBusiness _adminBusiness, IConfiguration configuration)
 {
     adminBL            = _adminBusiness;
     this.configuration = configuration;
 }
예제 #6
0
 public AdminController(IAdminBusiness adminBusiness, IConfiguration configuration)
 {
     this.adminBusiness = adminBusiness;
     this.configuration = configuration;
 }
예제 #7
0
 public AdminController(IAdminBusiness business, ILoggingBusiness logging)
 {
     _business = business;
     _logging  = logging;
 }
예제 #8
0
 public AdminController(IAdminBusiness businessLayer)
 {
     _businessLayer = businessLayer;
 }