public async Task UpdateAsync(Sequence sequence)
        {
            Require.Objects.NotNull(sequence, nameof(sequence));

            var oldSequence = await _baseCollection.GetAsync(sequence.Id);

            if (oldSequence != null)
            {
                oldSequence.Number = sequence.Number;
                await _baseCollection.UpdateAsync(oldSequence);
            }
        }
        public async Task UpdateAsync(Tags tags)
        {
            Require.Objects.NotNull(tags, nameof(tags));

            var oldTag = await _baseCollection.GetAsync(tags.Id);

            Require.Objects.NotNull <NotFoundException>(oldTag,
                                                        () => $"{tags.Title} with id: {tags.Id} not found");

            oldTag.Title = tags.Title;
            oldTag.Type  = tags.Type;

            await _baseCollection.UpdateAsync(oldTag);
        }