Beispiel #1
0
 public async Task <int> CreateArtifact(CreateArtifactModel createArtifactModel)
 {
     if (createArtifactModel != null)
     {
         return(await _artifactRepo.SaveArtifact(createArtifactModel).ConfigureAwait(false));
     }
     return(-1);
 }