Ejemplo n.º 1
0
        public ActionResult GetAllInvestors()
        {
            InvestorDataProcessing  investorDataAccessComponent = new InvestorDataProcessing(_context);
            IQueryable <InvestorVm> investors = MapToVm(investorDataAccessComponent.RetreiveAll());

            return(Ok(investors));
        }
Ejemplo n.º 2
0
        public IQueryable <Investor> GetAll()
        {
            InvestorDataProcessing investorDataAccessComponent = new InvestorDataProcessing(_ctx);

            return(investorDataAccessComponent.RetreiveAll());
        }