Skip to content
Snippets Groups Projects
Commit 2c4a7351 authored by Petar Hristov's avatar Petar Hristov :speech_balloon:
Browse files

Logging

parent f16b7f51
Branches
No related tags found
1 merge request!4Breaking: Complete Overhaul
......@@ -8,11 +8,18 @@ var projectModel = new ProjectModel();
var resourceModel = new ResourceModel();
// PID Endpoints found inside EpicClient's definition (see Coscine.Action Library)
Console.WriteLine("Project PIDs");
foreach (var project in projectModel.GetAll())
{
EpicUtil.UpdatePID(project.Id.ToString(), configuration);
Console.WriteLine($"Updated PID for Project {project.Id}");
}
Console.WriteLine("\nResource PIDs");
foreach (var resource in resourceModel.GetAll())
{
EpicUtil.UpdatePID(resource.Id.ToString(), configuration);
Console.WriteLine($"Updated PID for Project {resource.Id}");
}
Console.WriteLine("Finished.");
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment