public AdminAccountTesting() { IConfigurationBuilder configuration = new ConfigurationBuilder(); configuration.AddJsonFile("appsettings.json"); _configuration = configuration.Build(); _adminRepository = new AdminRepository(_configuration); _adminBusiness = new AdminBusiness(_adminRepository); }
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; }
public AdminController(IAdminBusiness adminBusiness, IConfiguration configuration) { this.adminBusiness = adminBusiness; this.configuration = configuration; }
public AdminController(IAdminBusiness business, ILoggingBusiness logging) { _business = business; _logging = logging; }
public AdminController(IAdminBusiness businessLayer) { _businessLayer = businessLayer; }