Esempio n. 1
0
        public void SetModifiedBy(ApplicationUser modifiedBy)
        {
            if (LastModified == null)
            {
                //throw
            }

            LastModified = AuditInfo.For(modifiedBy);
        }
Esempio n. 2
0
        public void SetCreatedBy(ApplicationUser createdBy)
        {
            if (Created != null)
            {
                //throw
            }

            Created = AuditInfo.For(createdBy);
        }