// GET: Appointment
        public ActionResult Index()
        {
            var Appointments = SA.GetMany();

            return(View(Appointments));
        }
Beispiel #2
0
        public IHttpActionResult Index()
        {
            var ap = sp.GetMany();

            return(Ok(ap));
        }