Beispiel #1
0
        public async Task <PrepareForSaveResult> PrepareForSave_Async <T, U, V, X>(T association, long currentUserId, bool creation = true) where T : AssociationTo3 <U, V, X> where U : struct where V : struct
        {
            var sp = new SavePreparation(this.Auditing, this.Logger);

            return(await sp.PrepareForSave_Async <T, U, V, X>(association, currentUserId, creation));
        }
Beispiel #2
0
        public async Task <PrepareForSaveResult> PrepareForSave_Async <T, U>(T entity, long currentUserId, bool creation = true) where T : Entity <U> where U : struct
        {
            var sp = new SavePreparation(this.Auditing, this.Logger);

            return(await sp.PrepareForSave_Async <T, U>(entity, currentUserId, creation));
        }