//method for getting all release plans to a aprticular project id
 public Task GetReleasePlansans(int projectId)
 {
     try
     {
         CreateGroup(projectId);
         var data = _service.GetAllReleasePlans(projectId);
         return(Clients.Client(Context.ConnectionId).InvokeAsync("getReleasePlansans", data));
     }
     catch (Exception e)
     {
         _logger.LogError("Method {0}, Description: {1}, Source: {2},Exception: {3}", e.TargetSite, e.Message, e.Source, e.ToString());
         throw;
     }
 }
Esempio n. 2
0
        public List <ReleasePlan> GetRelease(int id)
        {
            List <ReleasePlan> data = _ReleasePlansanService.GetAllReleasePlans(id);

            return(data);
        }