Ejemplo n.º 1
0
        public async Task <IHttpActionResult> ListProjectInformationAsync(IdProject projectId)
        {
            var response = await _agileProject.GetAllProjectInformationAsync(projectId.ProjectId);

            if (response.IsSuccess)
            {
                return(Ok(response));
            }

            return(BadRequest(response.Message));
        }
Ejemplo n.º 2
0
        public async Task <IHttpActionResult> GetHistoriesAndSprintProjectAsync(IdProject projectId)
        {
            var response = await _agileProject.GetHistoriesAndSprintProjectAsync(projectId.ProjectId);

            if (response.IsSuccess)
            {
                return(Ok(response));
            }

            return(BadRequest(response.Message));
        }
Ejemplo n.º 3
0
        public async Task <IHttpActionResult> GetAllUserHistoryAsync(IdProject projectId)
        {
            var response = await _userStory.GetAllUserHistoryAsync(projectId.ProjectId);

            if (response.IsSuccess)
            {
                return(Ok(response));
            }

            return(BadRequest(response.Message));
        }