public async Task <IHttpActionResult> ListProjectInformationAsync(IdProject projectId) { var response = await _agileProject.GetAllProjectInformationAsync(projectId.ProjectId); if (response.IsSuccess) { return(Ok(response)); } return(BadRequest(response.Message)); }
public async Task <IHttpActionResult> GetHistoriesAndSprintProjectAsync(IdProject projectId) { var response = await _agileProject.GetHistoriesAndSprintProjectAsync(projectId.ProjectId); if (response.IsSuccess) { return(Ok(response)); } return(BadRequest(response.Message)); }
public async Task <IHttpActionResult> GetAllUserHistoryAsync(IdProject projectId) { var response = await _userStory.GetAllUserHistoryAsync(projectId.ProjectId); if (response.IsSuccess) { return(Ok(response)); } return(BadRequest(response.Message)); }