Beispiel #1
0
        public async Task Insert(Graph graph, string text)
        {
            Guid blobId = await datastoreService.InsertBlob(text);

            graph.BlobId = blobId;

            await context.AddAsync(graph);

            await context.SaveChangesAsync();
        }
Beispiel #2
0
        public async Task Insert(Models.Program program, string text)
        {
            Guid blobId = await datastoreService.InsertBlob(text);

            program.BlobId = blobId;

            await context.AddAsync(program);

            await context.SaveChangesAsync();
        }