public async override Task <IActionResult> GetById(int id) { var dto = await BaseControllerService.GetById(id, x => x.Artist, x => x.AlbumRates, x => x.Genre, x => x.AlbumMusicLabels); if (dto is null) { return(NotFound()); } return(Ok(dto)); }
public async override Task <IActionResult> Get() { return(Ok(await BaseControllerService.GetEntities(x => x.Artist, x => x.AlbumRates, x => x.Genre))); }