Пример #1
0
        public JsonResult <IEnumerable <ProjectInfo> > Get()
        {
            ProjectInfo[] ListOfProjects = ProjectBl.GetAllProjects();

            var proj = from c in ListOfProjects
                       select c;


            return(Json(proj));
        }
Пример #2
0
 public List <Project> GetAllProjects()
 {
     return(_projectBl.GetAllProjects());
 }