public static DAL Factory(FileLocalRepository r, SearcherDAL d) { return(new DAL(r, d)); }
protected DAL(FileLocalRepository r, SearcherDAL dal) { repo = r; searcher = dal; }
private DAL() { searcher = new SearcherDAL(); //TODO: dependency injector repo = new MemoryLocalRepository(); //TODO: dependency injector }