//method for adding a new release public Task AddRelease(ReleasePlan release) { try { CreateGroup(release.ProjectId); _service.AddRelease(release); return(Clients.Group("releaseGroup").InvokeAsync("whenAdded", release)); } catch (Exception e) { _logger.LogError("Method {0}, Description: {1}, Source: {2},Exception: {3}", e.TargetSite, e.Message, e.Source, e.ToString()); throw; } }
public void Post([FromBody] ReleasePlan ReleasePlan) { _ReleasePlansanService.AddRelease(ReleasePlan); }