//get all the backlogs specific to projectId
        public Task GetAllBacklogs(int projectId)
        {
            CreateGroup(projectId);
            List <UserStory> backlogs = _backlogService.GetAll(projectId);

            return(Clients.Group("SprintGroup").InvokeAsync("getBacklogs", backlogs));
        }
        //get the backlogs specific to projectId
        public void GetBacklog(int projectid)
        {
            var data = _service.GetAll(projectid);

            Clients.Client(Context.ConnectionId).InvokeAsync("getbacklog", data);
        }
예제 #3
0
        public IEnumerable <UserStory> Get(int id)
        {
            List <UserStory> data = _service.GetAll(id);

            return(data);
        }