public ActionResult GetAllInvestors() { InvestorDataProcessing investorDataAccessComponent = new InvestorDataProcessing(_context); IQueryable <InvestorVm> investors = MapToVm(investorDataAccessComponent.RetreiveAll()); return(Ok(investors)); }
public IQueryable <Investor> GetAll() { InvestorDataProcessing investorDataAccessComponent = new InvestorDataProcessing(_ctx); return(investorDataAccessComponent.RetreiveAll()); }