public List<SolutionVO> FindAll() { List<SolutionVO> catList; using (var solutionAccessor = new SolutionAccessor()) { catList = solutionAccessor.Repo.All.ToList(); } return catList; }
public IQueryable<SolutionVO> GetAll() { IQueryable<SolutionVO> qSolution; using (var solutionAccessor = new SolutionAccessor()) { qSolution = solutionAccessor.Repo.All; } return qSolution; }
public SolutionBL() { _solutionAccessor = new SolutionAccessor(); }