Exemplo n.º 1
0
        public JsonResult Template_GetCustomers()
        {
            var Appointment = new KendoTestEntities().Customers.Select(x => new AppointmentViewModel
            {
                ID    = x.ID,
                Title = x.Name
            });

            return(Json(Appointment, JsonRequestBehavior.AllowGet));
        }