Beispiel #1
0
        public IActionResult GetAllBookings()
        {
            var data = rep2.GetAllBookings();

            return(new JsonResult(data));
        }
Beispiel #2
0
 public IActionResult GetAllBookings()
 {
     ViewBag.f = rep.GetAllBookings();
     return(View());
 }