Beispiel #1
0
        public JsonResult GetSummaryReportInfo()
        {
            var allPersons = _personRepo.GetAll();
            var allQuerys  = _queryRepo.GetAll();

            var res = new ReportHelper().GetSummaryReport(allQuerys, allPersons);

            return(Json(res, JsonRequestBehavior.AllowGet));
        }
Beispiel #2
0
        public ActionResult Index(int id)
        {
            var person = _repo.GetAll().First(p => p.PersonId == id);

            return(View(person));
        }
Beispiel #3
0
 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);
        }