예제 #1
0
        public ActionResult Index()
        {
            var model = _visits.GetAll().ToList();

            return(View(model));
        }
예제 #2
0
 public async Task <IActionResult> GetAll()
 {
     return(Ok(await _Interface.GetAll()));
 }