public IHttpActionResult GetAllProjects()
        {
            var allProjects = _ProjectManagerService.GetAllProjects();

            return(Ok(allProjects));
        }
示例#2
0
 public IHttpActionResult GetAllProjects()
 {
     return(Json <IEnumerable <ProjectModel> >(_manager.GetAllProjects()));
 }