public async Task DeleteById(Guid transactionId) { var transaction = await context.ImportNotificationTransactions.Where(t => t.Id == transactionId).SingleAsync(); context.DeleteOnCommit(transaction); }