public JsonMergeRequest(MergeViewModel model) { project = new JsonProject(model.Project); environment = new JsonMergeEnvironment(model.Environment); apiPath = model.ApiPath; }
public JsonMergeCandidateChangeset(Changeset model, JsonMergeEnvironment mergeEnvironment) : this(model) { environment = mergeEnvironment; }