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