Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/Gemstone.Web/APIController/ModelController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
// ReSharper disable StaticMemberInGenericType

using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Gemstone.Data;
Expand Down Expand Up @@ -73,7 +72,7 @@ public virtual async Task<IActionResult> Patch([FromBody] T record, Cancellation
public virtual async Task<IActionResult> Post([FromBody]T record, CancellationToken cancellationToken)
{
await using AdoDataConnection connection = CreateConnection();
TableOperations<T> tableOperations = new(connection);
ExpressionTableOperations<T> tableOperations = new(connection);
await tableOperations.AddNewRecordAsync(record, cancellationToken);
T? foundRecord = await tableOperations.QueryRecordAsync(tableOperations.GetNonPrimaryFieldRecordRestriction(record, DefaultExcludedFields), cancellationToken).ConfigureAwait(false);

Expand Down
1 change: 0 additions & 1 deletion src/Gemstone.Web/WebExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
using Microsoft.Extensions.FileProviders;
using Microsoft.Extensions.Primitives;

namespace Gemstone.Web
{
Expand Down