Add logging
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Linq;
|
||||
using System.Web.Mvc;
|
||||
using AutoMapper.QueryableExtensions;
|
||||
using InventoryTraker.Web.Attributes;
|
||||
using InventoryTraker.Web.Core;
|
||||
using InventoryTraker.Web.Data;
|
||||
using InventoryTraker.Web.Models;
|
||||
@@ -55,6 +54,7 @@ namespace InventoryTraker.Web.Controllers
|
||||
return BetterJson(new { totalItems, transactions });
|
||||
}
|
||||
|
||||
[ActionLog]
|
||||
public JsonResult Delete(int transactionId)
|
||||
{
|
||||
var transaction = _context.Transactions.Find(transactionId);
|
||||
|
||||
Reference in New Issue
Block a user