//method for getting all sprints to a particular project id
 public Task GetAllSprints(int projectId)
 {
     try
     {
         CreateGroup(projectId);
         var data = _service.GetAllSprints(projectId);
         return(Clients.Client(Context.ConnectionId).InvokeAsync("getsprints", data));
     }
     catch (Exception e)
     {
         _logger.LogError("Method {0}, Description: {1}, Source: {2},Exception: {3}", e.TargetSite, e.Message, e.Source, e.ToString());
         throw;
     }
 }
Exemple #2
0
        public List <Sprint> GetSprint(int id)
        {
            List <Sprint> data = _ReleasePlansanService.GetAllSprints(id);

            return(data);
        }