Bozza modifica x gestione user che effettua variazioni magazzino
This commit is contained in:
@@ -32,6 +32,11 @@ namespace NKC.Data.DbModels
|
||||
/// Qty recorded (delta +/-)
|
||||
/// </summary>
|
||||
public int QtyRec { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// User modificatore
|
||||
/// </summary>
|
||||
public string UserMod { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// Navigation property to Remnant
|
||||
|
||||
@@ -5,6 +5,7 @@ using NKC.Data.DbModels;
|
||||
using NKC.Data.DTO;
|
||||
using NLog;
|
||||
using System.Diagnostics;
|
||||
using System.Security.Claims;
|
||||
using System.Text;
|
||||
|
||||
namespace REMAN.Data
|
||||
@@ -45,6 +46,18 @@ namespace REMAN.Data
|
||||
protected const string rKeyRemnants = "Cache:Remnants";
|
||||
protected static string connStringBBM = "";
|
||||
|
||||
#if false
|
||||
protected string currUser
|
||||
{
|
||||
get
|
||||
{
|
||||
var claimsIdentity = (ClaimsIdentity)this.User.Identity;
|
||||
var claim = claimsIdentity.FindFirst(ClaimTypes.NameIdentifier);
|
||||
var userId = claim.Value;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#endregion Protected Fields
|
||||
|
||||
#region Public Fields
|
||||
|
||||
Reference in New Issue
Block a user