public PersonsBL() { people = new PersonsDAO(); InitList(); }
public LoginController(IConfiguration _config) { config = _config; UsersDAO = new UsersDAO(config.GetSection("DB").GetSection("ConnectionString").Value); PersonsDAO = new PersonsDAO(config.GetSection("DB").GetSection("ConnectionString").Value); }