public async Task <bool> DeleteCommentAsync(Models.DbModels.Comment comment)
        {
            using (HttpResponseMessage response =
                       await _apiHelper.ApiClient.DeleteAsync($"/api/comments/{comment.CommentId}"))
            {
                if (!response.IsSuccessStatusCode)
                {
                    throw new Exception(response.ReasonPhrase);
                }

                return(true);
            }
        }
 public async Task AddCommentAsync(Models.DbModels.Comment comment)
 {
     try
     {
         if (_chat.Connection.State == HubConnectionState.Connected)
         {
             await _chat.Connection.InvokeAsync("SendCommentAsync", comment);
         }
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }