Example #1
0
        public IActionResult GetAll()
        {
            try
            {
                var list = _liveService.GetAll();

                return(Ok(list));
            }
            catch (System.Exception ex)
            {
                return(BadRequest(new { message = ex.Message }));
            }
        }