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

            return(Ok(allProjects));
        }
Exemplo n.º 2
0
 public IHttpActionResult GetAllProjects()
 {
     return(Json <IEnumerable <ProjectModel> >(_manager.GetAllProjects()));
 }