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

            return(Ok(allProjects));
        }
Пример #2
0
 public IHttpActionResult GetAllProjects()
 {
     return(Json <IEnumerable <ProjectModel> >(_manager.GetAllProjects()));
 }