public ProviderResponse <bool> Restart(Application app, Cloud cloud) { ProviderResponse <bool> response = new ProviderResponse <bool>(); try { IVcapClient client = new VcapClient(cloud); client.Restart(app); response.Response = true; } catch (Exception ex) { response.Message = ex.Message; } return(response); }
public ProviderResponse<bool> Restart(Application app, Cloud cloud) { var response = new ProviderResponse<bool>(); try { IVcapClient client = new VcapClient(cloud); client.Restart(app); response.Response = true; } catch (Exception ex) { response.Message = ex.Message; } return response; }