public JsonResult GetSummaryReportInfo() { var allPersons = _personRepo.GetAll(); var allQuerys = _queryRepo.GetAll(); var res = new ReportHelper().GetSummaryReport(allQuerys, allPersons); return(Json(res, JsonRequestBehavior.AllowGet)); }
public ActionResult Index(int id) { var person = _repo.GetAll().First(p => p.PersonId == id); return(View(person)); }
IEnumerable <Person> IPersonManager.GetItems() { return(_personRepo.GetAll()); }
public ActionResult <IEnumerable <ViewPersonDto> > GetAll() { return(repo.GetAll().ToList()); }
// GET: PeopleRepo public IActionResult Index() { var people = from entity in _personRepo.GetAll() select entity; return View(people); }
public List <Person> GetAll() { var person = _repo.GetAll(); return(person); }