public IEnumerable <Restaurant> Get()
 {
     return(_resto.GetAllWithJenis());
 }
示例#2
0
        public IActionResult Index()
        {
            var models = _resto.GetAllWithJenis();

            return(View(models));
        }