Example #1
0
 // GET: Docentes
 public ActionResult Index()
 {
     return(View(docentesdatamodel.getall()));
 }
Example #2
0
 // GET: api/DocentesApi
 public IEnumerable <DocentesModel> Get()
 {
     //return new string[] { "value1", "value2" };
     return(datamodel.getall());
 }