示例#1
0
        public IHttpActionResult GetAllProjects()
        {
            var result = _projectService.GetAllProjects();

            return(Ok(result));
        }
示例#2
0
        public async Task <IActionResult> AllProjects()
        {
            var result = await _projectBL.GetAllProjects();

            return(Ok(result));
        }