public ActionResult DeleteThread(int threadId)
        {
            ActionResult response = null;

            try
            {
                //deletes a thread by the thread's ID
                _threadDataAccess.DeleteThread(threadId);
                response = RedirectToAction("Index", "Thread");
            }
            catch (Exception ex)
            {
                Logger.Log("Fatal", ex.TargetSite.ToString(), ex.Message, ex.StackTrace);
            }
            return(response);
        }