Example #1
0
 public async Task <WrappedResponse <ProjectDefinition> > InsertAsync([FromBody] ProjectDefinition projectDefinition)
 {
     using (CallProxy)
     {
         return(await CallProxy.CallAsync(async() => await projectDefinitionWriter.InsertAsync(projectDefinition)));
     }
 }
Example #2
0
 public async Task <WrappedResponse <ImmutableList <ProjectDefinition> > > GetAllAsync()
 {
     using (CallProxy)
     {
         return(await CallProxy.CallAsync(async() => await projectDefinitionsReader.GetAllProjectDefinitionsAsync()));
     }
 }
Example #3
0
 public async Task <WrappedResponse <bool> > RunByIdAsync([FromQuery] Guid projectId)
 {
     using (CallProxy)
     {
         return(await CallProxy.CallAsync(async() => await runner.RunAsync(projectId)));
     }
 }