public async Task <IActionResult> InvestmentCapital() { var capital = services.GetAllInvestRegister2(); return(await generatePdf.GetPdf("Views/InvestRegisterMvc/capitalReport.cshtml", capital)); }
public List <InvestmentView> getAllRegister2() { return(services.GetAllInvestRegister2().ToList()); }