예제 #1
0
        public void FromBltoUiDeleteAsync(Guid id)
        {
            var getFromR = _photoRepository.GetByIdAsync(id);

            _photoRepository.DeleteAsync(getFromR.PhotoId);
        }
예제 #2
0
        public async Task FromBltoUiDeleteAsync(Guid id)
        {
            var getFromR = await _photoRepository.GetByIdAsync(id);

            await _photoRepository.DeleteAsync(getFromR);
        }