Esempio n. 1
0
        public JsonResult ObtenerAlumnoxTextoLibre(string search)
        {
            if (!string.IsNullOrWhiteSpace(search))
            {
                List <Alumno> Alumnos = new AlumnoBL().BuscarAlumnoxTextoLibre(search, CustomHelper.getColegioId());
                if (Alumnos != null && Alumnos.Count() > 0)
                {
                    return(Json(new { Operacion = true, Data = Alumnos }, JsonRequestBehavior.AllowGet));
                }
            }

            return(Json(new { Operacion = false }, JsonRequestBehavior.AllowGet));
        }