public JsonResult <IEnumerable <ProjectInfo> > Get() { ProjectInfo[] ListOfProjects = ProjectBl.GetAllProjects(); var proj = from c in ListOfProjects select c; return(Json(proj)); }
public List <Project> GetAllProjects() { return(_projectBl.GetAllProjects()); }