public JsonResult Get() { CursoModel cursoQuery = new CursoModel(new Curso()); ResponseMenssage response = new ResponseMenssage("success", cursoQuery.GetCursos()); return(new JsonResult(response)); }