Esempio n. 1
0
        public async Task AddTagFromChargeAsync(int chargeId, Tag tag)
        {
            var newTag = await _tagService.AddAsync(tag);

            await _chargeTagRelationService.AddAsync(chargeId, newTag.Id);

            await _noteService.AddTagHistoryNoteAsync(chargeId, tag);

            await _chargeService.SetUpdatedAsync(chargeId);
        }