コード例 #1
0
        public ActionResult GetAllInvestors()
        {
            InvestorDataProcessing  investorDataAccessComponent = new InvestorDataProcessing(_context);
            IQueryable <InvestorVm> investors = MapToVm(investorDataAccessComponent.RetreiveAll());

            return(Ok(investors));
        }
コード例 #2
0
        public IQueryable <Investor> GetAll()
        {
            InvestorDataProcessing investorDataAccessComponent = new InvestorDataProcessing(_ctx);

            return(investorDataAccessComponent.RetreiveAll());
        }