예제 #1
0
        public async Task <IActionResult> GetAllProject()
        {
            IEnumerable <ProjectData> result = await _projectGateway.GetAllProject();

            if (result == null)
            {
                return(BadRequest("No project exists"));
            }

            return(Ok(result));
        }