Example #1
0
        public async Task DeleteAsync(Guid glossaryId)
        {
            var  identityName = User.Identity.Name;
            Guid userId       = (Guid)ur.GetID(identityName);
            await _userActionRepository.AddDeleteGlossaryActionAsync(userId, identityName, glossaryId, "");

            await _glossariesService.DeleteAsync(glossaryId);
        }