Beispiel #1
0
        public async Task FromBltoUiDeleteAsync(Guid id)
        {
            var getFromR = await _albumRepository.GetByIdAsync(id);

            await _albumRepository.DeleteAsync(getFromR);
        }
Beispiel #2
0
        public void FromBltoUiDeleteAsync(Guid id)
        {
            var getFromR = _albumRepository.GetByIdAsync(id);

            _albumRepository.DeleteAsync(getFromR.AlbumId);
        }