/// <inheritdoc/> public Task <bool> Push(string org, string repository) { try { return(_decoratedService.Push(org, repository)); } catch (Exception ex) { LogError(ex, "Push", org, repository); throw; } }
public async Task <ActionResult <HttpResponseMessage> > Push(string org, string repository) { bool pushSuccess = await _sourceControl.Push(org, repository); if (pushSuccess) { return(new HttpResponseMessage(HttpStatusCode.OK)); } else { return(new HttpResponseMessage(HttpStatusCode.InternalServerError)); } }
public async Task <ActionResult> Push(string org, string repository) { bool pushSuccess = await _sourceControl.Push(org, repository); if (pushSuccess) { return(Ok()); } else { return(StatusCode(StatusCodes.Status500InternalServerError)); } }
public void Push(string owner, string repository) { _sourceControl.Push(owner, repository); }
public void Push(string org, string repository) { _sourceControl.Push(org, repository); }