public IActionResult DeleteDataServer() { var providerName = RouteData.Values["providerName"].ToString(); var infrastructureName = RouteData.Values["infrastructureName"].ToString(); _resourceService.DeleteDataServerResource(providerName, infrastructureName, ResourceType.DataServer); return(Ok()); }