public async Task <IActionResult> GetTopics()
        {
            try
            {
                var result = await _topicsRepository.GetTopics();

                return(Ok(result));
                //}
            }
            catch (Exception ex)
            {
                return(BadRequest(new { message = ex?.Message }));
            }
        }