public async Task <ActionResult <AlbumResource> > GetAsync(int id)
        {
            //try
            //{
            var album = await _supervisor.GetAlbumByIdAsync(id);

            if (album == null)
            {
                return(NotFound(new ErrorResource("Album not found")));
            }

            var resource = _mapper.Map <AlbumResource>(album);

            return(Ok(resource));
            //}
            //catch (Exception ex)
            //{
            //    _logger.LogError(ex.Message);
            //    return StatusCode(500, ex);
            //}
        }