public async Task <IActionResult> Listar(string tags) { try { var response = _serviceVideo.Listar(tags); return(await ResponseAsync(response, _serviceVideo)); } catch (Exception ex) { return(ResponseException(ex)); } }
public async Task <IActionResult> Listar(Guid idPlayList) { try { var response = _serviceVideo.Listar(idPlayList); return(await ResponseAsync(response, _serviceVideo)); } catch (Exception e) { return(await ResponseExceptionAsync(e)); } }