// GET: ReadController/Delete
        public ActionResult Delete(int id)
        {
            try
            {
                if (id == 0)
                {
                    return(NotFound());
                }
                var message = MessageBL.GetMessage(id);

                return(View(message));
            }
            catch
            {
                return(Redirect("~/"));
            }
        }
        public ActionResult Message(int id)
        {
            try
            {
                if (id == 0)
                {
                    return(NotFound());
                }
                var message = MessageBL.GetMessage(id);

                return(View(message));
            }
            catch (Exception e)
            {
                TempData["sErrMsg"] = e.Message;
                return(View());
                //return Redirect("~/");
            }
        }