Skip to content

Instantly share code, notes, and snippets.

@fnbk
Created September 17, 2022 18:19
Show Gist options
  • Save fnbk/24545ced4baacda0c913168c648129a9 to your computer and use it in GitHub Desktop.
Save fnbk/24545ced4baacda0c913168c648129a9 to your computer and use it in GitHub Desktop.
private Job CreateJob(Order order)
{
var computer = GetComputer(order.ComputerName, order.CustomerId);
computer.CustomerId = GetCustomerId(order.CustomerId, computer.CustomerId);
var serverAddress = GetServerAddress(order.ComputerName, computer.CustomerId);
var deploymentType = GetDeploymentType(order.MaterialNumber, computer.CustomerId);
var job = NewJob(order, computer, serverAddress, deploymentType, jobActions);
return job;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment