public IActionResult RemoveViewer([FromBody] ViewerModel removeViewerInfo) { var(stream, viewer) = removeViewerInfo; try { _streamService.RemoveViewer(stream, viewer); return(Ok()); } catch (Exception e) { PrintException(e); return(BadRequest(new { message = e.Message })); } }