public bool SetProgress( [FromUri] bool isSuccess, [FromBody] NetlifyDeploymentData data) { var req = Request; _netlifyProgressService.SetProgress(data, isSuccess); return(true); }
public void SetProgress( NetlifyDeploymentData data, bool isSuccess) { if (data.State == Progress.Keys.First()) { ClearStatus(); } Progress[data.State].Succeeded = isSuccess; Progress[data.State].DeploymentData = data; Progress[data.State].HasExecuted = true; }