Exemplo n.º 1
0
        public ActionResult getlevel(levelviewmodel dept)
        {
            levels rept = new levels();
            IEnumerable <levelviewmodel> depts = rept.GetAll();

            return(Json(depts.ToList(), JsonRequestBehavior.AllowGet));
        }