public async Task <ActionResult <List <Album> > > GetAlbums() { try { return(new OkObjectResult(await _labelService.GetAlbums())); } catch (Exception ex) { return(new StatusCodeResult(500)); } }
public async Task <ActionResult <List <Album> > > GetAlbums() { try { return(new OkObjectResult(await _labelService.GetAlbums())); } catch (Exception ex) { return(new StatusCodeResult(500)); } }